Commit Graph

1159 Commits

Author SHA1 Message Date
d28b51409b Migrate FeatureLockedDialog in WidgetBrightDisplayConfigureActivity to compose 2023-10-05 13:49:52 +02:00
6893454559 Use method references in WidgetBrightDisplayConfigureActivity 2023-10-05 13:34:37 +02:00
8ea675a743 Use method references in WidgetTorchConfigureActivity 2023-10-05 13:34:15 +02:00
6372066b8e Remove unnecessary fake check when launching CustomizationActivity 2023-10-05 13:22:37 +02:00
28ab74caa1 Replace MaterialTheme references with SimpleTheme 2023-10-05 13:19:31 +02:00
af6691c06a Remember items for custom sleep timer dialog 2023-10-05 13:16:44 +02:00
c33664b9e7 Show custom sleep timer dialog via callback 2023-10-05 13:10:18 +02:00
21a6196896 Move AlertDialogState to parameters of ColorPicker 2023-10-05 13:08:25 +02:00
acc8500bd2 Use proper default value for brightDisplayColor 2023-10-05 13:07:42 +02:00
8a30781893 Use non deprecated flags in BrightDisplayActivity 2023-10-05 13:06:53 +02:00
0a37a82ac9 Replace deprecated getColor usage 2023-10-05 12:53:28 +02:00
7defcd49ff Add @Immutable to AppDimensions 2023-10-05 12:50:26 +02:00
47159f5f54 Use SimpleTheme.dimens in SleepTimerCustomAlertDialog 2023-10-05 12:50:00 +02:00
b5b215af6e Make onCancelClick nullable 2023-10-05 12:47:05 +02:00
15dcb65fbc Pu SleepTimerCustomAlertDialog items in remember 2023-10-05 12:46:01 +02:00
17ac263c5d Use DialogSurface for SleepTimerCustomAlertDialog 2023-10-05 12:44:38 +02:00
057cfefb64 Use stateIn to move default values to viewModel 2023-10-05 12:39:40 +02:00
34ac99fb63 Clean up BrightDisplayActivity method references 2023-10-05 12:29:37 +02:00
59537d28bd Migrate color picker to compose 2023-10-05 10:34:06 +02:00
c354d115ee Fix MyCameraImpl crash 2023-10-05 09:43:50 +02:00
eae63898e3 Use compose PermissionRequiredAlertDialog for sleep timer permission 2023-10-05 09:43:37 +02:00
680b313372 updating the f-droid icon 2023-10-05 09:16:21 +02:00
c37ced08a7 Migrate SleepTimerCustomDialog to compose 2023-10-05 08:40:31 +02:00
a3e188529d Update commons to update RadioGroupAlertDialog 2023-10-04 17:41:36 +02:00
6296d893b0 Use apply when building SleepTimerRadioDialog 2023-10-04 16:36:47 +02:00
2fd3dc5c77 Use compose RadioGroupDialog 2023-10-04 16:24:06 +02:00
9e3b207509 Split SettingsScreen into sections 2023-10-03 13:27:41 +02:00
2f6000db6a Add accessibility string for stroboscope 2023-10-03 13:19:42 +02:00
50820bd948 Update Android gradle plugin to 8.1.2 2023-10-03 13:14:17 +02:00
17946431ba Add annotations for Int values in WidgetConfigureScreen for clarity 2023-10-03 13:13:59 +02:00
3323b2fb70 Remove usages of dimensionResource 2023-10-03 13:06:50 +02:00
3f901ff290 Split compose screens into multiple smaller sections 2023-10-03 09:10:32 +02:00
c644def18e Move action building to a separate function 2023-10-03 08:08:39 +02:00
ee9a539cf5 Remove EventBus usage 2023-10-02 18:24:02 +02:00
163e053e1d Remove unnecessary modifiers from SleepTimer 2023-10-02 17:15:58 +02:00
e111bce5f2 Remove ConstraintLayout from compose 2023-10-02 17:08:28 +02:00
0767d76345 Move "SOS" to strings 2023-10-02 17:00:17 +02:00
50f0be9e20 Use rememberMutableInteractionSource 2023-10-02 16:59:32 +02:00
3a17008fe9 Remove unnecessary elvis operator from BrightDisplayScreen 2023-10-02 16:54:39 +02:00
62484fd3c7 Migrate SettingsScreen to new commons naming 2023-10-02 16:53:48 +02:00
2e1821320f Use derived state for contrastColor in BrightDisplayActivity 2023-10-02 16:53:39 +02:00
10fa019813 Use asFlowNonNull for all flow properties in Config 2023-10-02 16:44:15 +02:00
132b469b44 Change base for all activities to ComponentActivity 2023-10-02 16:41:59 +02:00
81096e35a6 Properly reflect flash state in main screen icons 2023-10-02 12:59:57 +02:00
3414295887 Fix stroboscope stored progress 2023-10-02 12:45:38 +02:00
87e92df993 Fix SleepTimer visibility on main screen 2023-10-02 12:37:33 +02:00
cd02f52d12 Fix light theme colors 2023-10-02 10:42:18 +02:00
de2ce0ea73 Properly handle changing preferences values for main screen 2023-10-02 09:49:00 +02:00
b61288407b Remove ripple effect from main buttons 2023-10-02 09:20:20 +02:00
7937a71b0d Migrate MainActivity to compose 2023-10-02 09:06:39 +02:00