You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Android scheduled task Time picker stays open after tapping OK #40469
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/mobile
Steps to reproduce
On Android, open Settings → Scheduled tasks → New task.
Leave the schedule on At a time and tap Time.
Pick a time (e.g. 14:00) and tap OK.
Expected behavior
The dialog closes and the Time row shows the picked time.
Actual behavior
The time is saved (the row behind the dialog updates), but the dialog stays open, re-seeded with the new value. Tapping OK again does nothing; only Cancel closes it.
On Android, @expo/ui's DateTimePicker shows its dialog for as long as it is mounted, and OK calls onDateSelected only, not onDismissRequest. The At a time picker in apps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsx only unmounts on onDismiss. The Once date/time pickers already close themselves in onValueChange on Android; adding the same if (Platform.OS === "android") setTimePickerOpen(false); to the At-a-time picker fixes it (verified on an Android 16 emulator).
Activity