Commit Graph

1170 Commits

Author SHA1 Message Date
Ensar Sarajčić 62484fd3c7 Migrate SettingsScreen to new commons naming 2023-10-02 16:53:48 +02:00
Ensar Sarajčić 2e1821320f Use derived state for contrastColor in BrightDisplayActivity 2023-10-02 16:53:39 +02:00
Ensar Sarajčić 10fa019813 Use `asFlowNonNull` for all flow properties in `Config` 2023-10-02 16:44:15 +02:00
Ensar Sarajčić 132b469b44 Change base for all activities to `ComponentActivity` 2023-10-02 16:41:59 +02:00
Ensar Sarajčić 81096e35a6 Properly reflect flash state in main screen icons 2023-10-02 12:59:57 +02:00
Ensar Sarajčić 3414295887 Fix stroboscope stored progress 2023-10-02 12:45:38 +02:00
Ensar Sarajčić 87e92df993 Fix SleepTimer visibility on main screen 2023-10-02 12:37:33 +02:00
Ensar Sarajčić cd02f52d12 Fix light theme colors 2023-10-02 10:42:18 +02:00
Ensar Sarajčić de2ce0ea73 Properly handle changing preferences values for main screen 2023-10-02 09:49:00 +02:00
Ensar Sarajčić b61288407b Remove ripple effect from main buttons 2023-10-02 09:20:20 +02:00
Ensar Sarajčić 7937a71b0d Migrate MainActivity to compose 2023-10-02 09:06:39 +02:00
Tibor Kaputa b505f7d3ce
Merge pull request #212 from weblate/weblate-simple-mobile-tools-simple-flashlight
Translations update from Hosted Weblate
2023-09-28 23:10:09 +02:00
Ensar Sarajčić 4c5deb10e4 Migrate WidgetTorchConfigureActivity to compose 2023-09-28 17:24:53 +02:00
Ensar Sarajčić 2a5011fb22 Use dimens for SleepTimer instead of hardcoded dp values 2023-09-28 16:59:20 +02:00
Ensar Sarajčić 0ff554a835 Migrate WidgetBrightDisplayConfigureActivity to compose 2023-09-28 16:57:00 +02:00
Ensar Sarajčić 68f4e32ce2 Migrate BrightDisplayActivity to compose 2023-09-28 15:09:52 +02:00
Ensar Sarajčić ee7780f9e7 Use `asFlow` from BaseConfig 2023-09-28 13:17:17 +02:00
Ensar Sarajčić 1e1dacf7be Migrate SettingsActivity to compose 2023-09-28 12:24:18 +02:00
Lionel HANNEQUIN ac8fc71534
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-09-28 05:56:58 +02:00
gallegonovato f5a4faa576
Translated using Weblate (Spanish)
Currently translated at 100.0% (10 of 10 strings)

Translation: Simple Mobile Tools/Simple Flashlight metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight-metadata/es/
2023-09-27 13:02:17 +00:00
Puppelimies 8bb7b83e39
Translated using Weblate (Swedish)
Currently translated at 100.0% (10 of 10 strings)

Translation: Simple Mobile Tools/Simple Flashlight metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight-metadata/sv/
2023-09-25 07:01:36 +02:00
Tibor Kaputa 6c3c5f0323
Merge pull request #211 from weblate/weblate-simple-mobile-tools-simple-flashlight
Translations update from Hosted Weblate
2023-09-23 19:09:48 +02:00
gallegonovato eda4fdfd40
Translated using Weblate (Spanish)
Currently translated at 100.0% (10 of 10 strings)

Translation: Simple Mobile Tools/Simple Flashlight metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight-metadata/es/
2023-09-23 17:02:04 +02:00
gallegonovato 369050728a
Translated using Weblate (Spanish)
Currently translated at 100.0% (10 of 10 strings)

Translation: Simple Mobile Tools/Simple Flashlight metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight-metadata/es/
2023-09-22 09:23:49 +02:00
Lionel HANNEQUIN efbb7804db
Translated using Weblate (French)
Currently translated at 100.0% (10 of 10 strings)

Translation: Simple Mobile Tools/Simple Flashlight metadata
Translate-URL: https://hosted.weblate.org/projects/simple-mobile-tools/simple-flashlight-metadata/fr/
2023-09-21 04:03:49 +02:00
Tibor Kaputa ceed63aaa4
Merge pull request #210 from esensar/fix/camera-null-crashes
Prevent null cameraId in CameraFlash
2023-09-20 12:11:55 +02:00
Ensar Sarajčić 97b5389bc6 Wrap null safe calls to `cameraFlash` with toasting 2023-09-20 11:57:47 +02:00
Ensar Sarajčić 0b64092651 Handle cases when `camerFlash` may be null in `MyCameraImpl` 2023-09-20 11:26:03 +02:00
Ensar Sarajčić 2a8d7c2a8c Prevent null cameraId in CameraFlash 2023-09-20 11:11:21 +02:00
Tibor Kaputa 1ce4c6ef65
Merge pull request #209 from esensar/gradle-deprecation-warnings
Clean up gradle deprecation warnings
2023-09-13 14:39:04 +02:00
Ensar Sarajčić 9691b0103c Clean up gradle deprecation warnings 2023-09-13 13:37:10 +02:00
Tibor Kaputa a183c22062
Merge pull request #208 from esensar/version-catalog-migration
Migrate to versions catalog
2023-09-07 12:14:45 +02:00
Ensar Sarajčić c25feb637a Use consistent version ref naming style 2023-09-07 12:09:31 +02:00
Ensar Sarajčić 44ed487c98 Migrate to versions catalog 2023-09-07 11:58:09 +02:00
tibbi aa381a8a52 updating changelog 2023-09-07 11:21:44 +02:00
tibbi cfec55d9eb update version to 5.10.0 2023-09-07 11:21:38 +02:00
tibbi 6142287e45 updating commons 2023-09-07 11:15:50 +02:00
Tibor Kaputa 3924b33ebb
Merge pull request #207 from esensar/feature/105-sleep-timer
Add sleep timer
2023-09-06 22:05:35 +02:00
Tibor Kaputa e73737f2c4
renaming some parameters 2023-09-06 21:55:58 +02:00
Ensar Sarajčić da0b5d341c Offset sleep-timer on BrightDisplayActivity from navigationBar 2023-09-06 10:57:20 +02:00
Ensar Sarajčić 77c8d50cf4 Close app when timer runs out on BrightDisplayActivity 2023-09-06 10:49:22 +02:00
Ensar Sarajčić 174b2ac803 Use more sensible values for sleep timer
This also changes all of these items to use `getQuantityString` instead of
manually appending values.
2023-09-06 10:41:25 +02:00
Ensar Sarajčić c55e784081 Fix 1 minute radio item string 2023-09-06 10:35:34 +02:00
Ensar Sarajčić 788ef6f01f Add radio button for seconds for custom sleep timer 2023-09-06 09:58:24 +02:00
Ensar Sarajčić c00d4cc30c Add more lower default values for sleep timer 2023-09-06 08:10:21 +02:00
Ensar Sarajčić 2572f7cfbf Properly update sleep timer color on resume 2023-09-06 08:08:28 +02:00
Ensar Sarajčić 543362cccb Update Simple-Commons ref 2023-09-06 08:08:18 +02:00
Ensar Sarajčić 482aef3d65 Use shared sleep_timer string 2023-09-04 16:49:34 +02:00
Ensar Sarajčić db5b553ce8 Add sleep timer
This closes #105
2023-09-04 10:39:33 +02:00
Tibor Kaputa 10c3913fed
Merge pull request #206 from fatihergin/feature/migrating-to-sdk-34
Feature/migrating to sdk 34
2023-08-30 14:22:53 +02:00