Commit Graph

1169 Commits

Author SHA1 Message Date
Tibor Kaputa ddf576aa04
Merge pull request #215 from weblate/weblate-simple-mobile-tools-simple-flashlight
Translations update from Hosted Weblate
2023-10-18 15:21:11 +02:00
Agnieszka C 84279de811
Translated using Weblate (Polish)
Currently translated at 100.0% (10 of 10 strings)

Translation: Simple Mobile Tools/Simple Flashlight
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight/pl/
2023-10-18 13:08:18 +00:00
tibbi ac6513332b updating changelog 2023-10-18 15:07:49 +02:00
tibbi f5ab9462fd update version to 5.10.1 2023-10-18 15:07:43 +02:00
tibbi 9689d4f6fc updating commons 2023-10-18 14:59:55 +02:00
Tibor Kaputa 7f739c8b62
Merge pull request #213 from esensar/compose-migration
Migrate application to compose
2023-10-18 14:29:22 +02:00
Ensar Sarajčić 9fea2bca1a Add background for status and navigation bar in widget configuration activities 2023-10-18 13:29:28 +02:00
Ensar Sarajčić 18c8bf3c7a Fix error state for stroboscope and SOS 2023-10-17 13:03:08 +02:00
Ensar Sarajčić b0ea8d8ef2 Fix flashlight button state on errors 2023-10-17 12:59:41 +02:00
Ensar Sarajčić 27c3aa60d0 Add extra padding to sliders section to prevent overlap with timer 2023-10-17 10:58:15 +02:00
Ensar Sarajčić d36afb3e13 Add background to sleep timer element 2023-10-17 08:25:51 +02:00
Ensar Sarajčić b3b0bc84f9 Clean up `SleepTimerCustomAlertDialog` 2023-10-17 08:24:05 +02:00
Ensar Sarajčić b57e782613 Prevent drawing behind system bars in `WidgetConfigureScreen` 2023-10-17 08:04:21 +02:00
Ensar Sarajčić 13a794fe12 Merge branch 'master' into compose-migration 2023-10-16 11:34:39 +02:00
Ensar Sarajčić c755c67011 Update commons to remove the need for `minActiveState` 2023-10-16 11:03:42 +02:00
Ensar Sarajčić afe23bfb2e Use new compat helpers for window flags 2023-10-16 09:54:04 +02:00
Tibor Kaputa 899d616eb3
Merge pull request #214 from weblate/weblate-simple-mobile-tools-simple-flashlight
Translations update from Hosted Weblate
2023-10-14 21:26:05 +02:00
Ensar Sarajčić c546aab7f1 Remove needless call for insets controller in `BrightDisplayActivity` 2023-10-13 11:35:14 +02:00
Ensar Sarajčić cef9f6e62b Remove `getCameraPermissionLauncher` 2023-10-13 11:34:50 +02:00
Ensar Sarajčić f21cd4ff49 Remove needless ArrayLists and `Arrays.toList` calls 2023-10-13 11:33:02 +02:00
Ensar Sarajčić 7533ad1fa2 Use `buildList` in `secondsToString` in `MainActivity` 2023-10-13 11:29:30 +02:00
Ensar Sarajčić 1600a072ef Use more descriptive names for `showSleepTimerPermission` arguments 2023-10-13 11:27:53 +02:00
Ensar Sarajčić e190cac2a3 Inline `handlePermissionResult` 2023-10-13 11:24:53 +02:00
Ensar Sarajčić dabdfdcd7d Replace `else if` with `when` in `MainActivity` 2023-10-13 11:23:10 +02:00
Ensar Sarajčić f25601db6b Move radio item list building for SleepTimer into a separate function 2023-10-13 11:20:43 +02:00
Ensar Sarajčić 4b7c4350d4 Move colors to parameters of dialog state functions 2023-10-13 11:15:15 +02:00
Ensar Sarajčić d9d3928705 Prevent updating flashlight button state before turning updating flashlight 2023-10-13 11:08:31 +02:00
Ensar Sarajčić 03b0fbb836 Update commons for menu colors fix 2023-10-12 09:33:25 +02:00
Lionel HANNEQUIN 631d0731c7
Translated using Weblate (French)
Currently translated at 100.0% (9 of 9 strings)

Translation: Simple Mobile Tools/Simple Flashlight
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight/fr/
2023-10-11 14:05:18 +02:00
Ensar Sarajčić 4b65350e24 Update commons 2023-10-10 09:23:16 +02:00
Puppelimies b37b39e43d
Translated using Weblate (Swedish)
Currently translated at 100.0% (9 of 9 strings)

Translation: Simple Mobile Tools/Simple Flashlight
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight/sv/
2023-10-10 09:17:02 +02:00
Ensar Sarajčić 88792ccb8d Remove `preferenceValueColor` override in `SettingsScreen` 2023-10-09 16:48:39 +02:00
Ensar Sarajčić efd6c71c63 Update simple-commons 2023-10-09 16:26:13 +02:00
Ensar Sarajčić 30c95833c3 Add `useEnglish` to `SettingsScreen` 2023-10-09 13:18:25 +02:00
Ensar Sarajčić 410f2759fc Leave `android.nonTransitiveRClass` at default value 2023-10-09 12:04:41 +02:00
Ensar Sarajčić d2473cfb1f Use named parameter for `cancelCallback` in `CheckFeatureLocked` 2023-10-09 09:41:19 +02:00
Ensar Sarajčić d40d5329e5 Add navigation bar padding to `SleepTimer` on `MainScreen` 2023-10-09 09:16:01 +02:00
Ensar Sarajčić 9d46496807 Replace `getMultiplier` with `UnitItem` and stored multiplier value 2023-10-09 09:14:31 +02:00
Ensar Sarajčić 2404943fe2 Use `SettingsHorizontalDivider` instead of `HorizontalDivider` 2023-10-09 08:29:22 +02:00
Ensar Sarajčić 3579f61cb9 Simplify padding for slider in `MainScreen` 2023-10-09 08:28:46 +02:00
Ensar Sarajčić b1b4c46dc3 Make `SmallButton` component for `BrightDisplayButton` and `StroboscopeButton` 2023-10-09 08:26:22 +02:00
Ensar Sarajčić c59108e1ad Make `cancel` in `SleepTimer` synchronized too 2023-10-09 08:18:38 +02:00
Ensar Sarajčić 82c4acc96f Make `context` private in `MyCameraImpl` 2023-10-09 08:17:56 +02:00
Ensar Sarajčić b290fd0502 Use `divider_grey` instead of `Color.Gray` for `SleepTimer` 2023-10-09 08:12:05 +02:00
Ensar Sarajčić b5bd119012 Set better defaults for brightness and stroboscope sliders 2023-10-06 12:57:09 +02:00
Ensar Sarajčić d9a7598e59 Fix feature locked dialog in widget configuration 2023-10-06 12:50:25 +02:00
Ensar Sarajčić 539cf694dc Add edge to edge to `MainActivity` 2023-10-06 11:49:06 +02:00
Ensar Sarajčić 270480ead5 Add verticalScroll to `MainScreen` 2023-10-06 11:38:46 +02:00
Ensar Sarajčić 74f4675f19 Extract dialogs and permissions into separate composables 2023-10-06 11:29:20 +02:00
Ensar Sarajčić b536626c3c Use compose version of `appLaunched` 2023-10-06 11:18:27 +02:00