Commit graph

22 commits

Author SHA1 Message Date
cketti
0c381c2bcd
Merge pull request #6002 from k9mail/Issue-5961
Fix issues when switching between LTR and RTL languages
2022-04-06 16:05:14 +02:00
cketti
bf8ab4e6cf
Merge pull request #5998 from arissystem/Issue-5961
Activity recreate method changed because it didn't work properly on some Android versions
2022-04-05 16:48:20 +02:00
cketti
685374dad8 Explicitly set the layout direction on Android 12+ 2022-04-05 16:37:57 +02:00
cketti
49160cb1a9 Always use ActivityCompat.recreate() 2022-04-05 15:15:38 +02:00
r.zarchi
c3d5928c1f Activity recreate method changed because it didn't work properly on Android older than 9 2022-04-05 10:42:18 +04:30
cketti
372252710d Update name/description of notification channels when app locale changes 2022-03-17 18:35:59 +01:00
cketti
c34340e14f Update AndroidX Navigation to version 2.4.1 2022-03-04 00:55:16 +01:00
schlagi123
30f5cac95e
Make ThemeManager listen to theme setting changes (#5833)
This way importing settings will automatically apply the imported theme value.
2021-12-29 23:03:49 +01:00
cketti
96f9b3bdd6 Update AppCompat to version 1.3.1
Update AndroidX Core to version 1.7.0
Update AndroidX Activity to version 1.4.0
Update Androidx Fragment to version 1.3.6
Update Androidx Lifecycle to version 2.4.0
2021-10-30 03:28:36 +02:00
cketti
cff6041dc8 Extract code for authenticated password toggle to separate file
Add support for orientation changes and mark screen as secure if password has been revealed.
2021-08-18 04:42:06 +02:00
cketti
4caeb6caa3 Start PushController from K9Activity 2021-06-21 14:24:54 +02:00
cketti
db0bd06f21 Re-apply the locale override to the configuration if necessary 2021-06-05 14:18:00 +02:00
cketti
5444d8be3a Remove explicit dependency on Kotlin's standard library 2021-04-22 03:54:15 +02:00
cketti
a61429e8c5 Rewrite custom app language feature
Add AppLanguageManager that notifies listeners when the app language has been changed. K9Activity uses this mechanism to restart() on language changes. The Application object will update its configuration.

Instead of using the deprecated Resources.updateConfiguration() we now use LocaleContextWrapper (in combination with AppCompat) to override the locale in the configuration.
2021-04-20 21:41:18 +02:00
cketti
5b82c74ba4 Remove unused ThemeType.ACTION_BAR 2021-03-15 16:57:04 +01:00
cketti
26bb8e3bb7 Merge 'K9ActivityCommon' into 'K9Activity' 2021-03-15 16:57:04 +01:00
cketti
b5b85f5e54 Make all of our activities extend 'K9Activity' 2021-03-15 16:56:53 +01:00
cketti
fb98aa0e55 Add 'MessageHeadersViewModel' to manage loading headers 2021-02-20 15:34:20 +01:00
cketti
ed8009d9fa Update ktlint-gradle to 9.4.1, ktlint to 0.39.0
Apply ktlint-gradle plugin to all Gradle subprojects.
2020-10-16 14:27:23 +02:00
cketti
6bb407087e Move NavigationExtensions.kt to :app:ui:base 2020-05-21 22:14:29 +02:00
cketti
779f2a7b9a Move toolbar layout to :app:ui:base module 2020-05-21 22:00:43 +02:00
cketti
21c14c49bd Add :app:ui:base module and move K9Activity to it 2020-05-19 18:16:15 +02:00