Commit graph

255 commits

Author SHA1 Message Date
cketti
65d3df63b0 Upgrade AndroidX lifecycle libraries to 2.3.1 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
034e1fbd79 Fix crash when starting MessageCompose without an account UUID 2021-04-19 21:21:13 +02:00
cketti
53d8ddef81 Clean up code in FolderSettingsFragment 2021-04-17 17:54:25 +02:00
plan3d
9558dec197 Hide folder poll class and folder notification class preferences for local folders 2021-04-17 10:12:54 +02:00
cketti
e521a8d23b Extract variable for FastAdapter version and upgrade to 5.4.0 2021-04-12 16:14:27 +02:00
cketti
b9653f7b76 Only show drag handle if there's more than one account 2021-04-12 16:14:27 +02:00
cketti
35da587399 Save new account order in background thread 2021-04-10 07:29:37 +02:00
cketti
123292dde5 Use RecyclerViewBackgroundDrawable in settings screen
Use a background that becomes visible when account items are dragged. This creates a nice layered surfaces effect.
2021-04-10 07:15:23 +02:00
Poldi
3d9e9d96fc Allow reordering accounts in settings 2021-04-10 06:47:02 +02:00
cketti
0f873683f7 Cleanup 2021-04-06 19:20:49 +02:00
plan3d
8672ee9365 Issue 2485: Added ability to discard changes and keep original draft 2021-04-06 12:14:23 +02:00
cketti
33fe1ee2f6
Merge pull request #5215 from k9mail/use_glide_in_drawer
Load account images off the main thread
2021-03-30 14:51:13 +02:00
cketti
0e14b17b3d Load account images off the main thread (using Glide) 2021-03-30 12:46:49 +02:00
cketti
b1265d81c3
Merge pull request #5216 from k9mail/special_characters_in_contact_email_addresses
Skip unsupported email addresses in RecipientLoader
2021-03-30 12:18:41 +02:00
cketti
1a91345f3e
Merge pull request #5217 from k9mail/split_mode_changing_folders
Clear message view when switching folders in split view
2021-03-30 12:16:07 +02:00
cketti
f7887b3472 Clear message view when switching folders in split view 2021-03-26 02:10:13 +01:00
cketti
12213b5316 Skip unsupported email addresses in RecipientLoader
Currently we don't support email addresses containing non-ASCII characters.
2021-03-25 22:13:36 +01:00
cketti
827ea0059d Make everyone use Preferences.saveSettings() to save general settings 2021-03-24 17:08:17 +01:00
cketti
9ee8746255 Move some code from 'Preferences' to 'AccountRemover' 2021-03-24 15:48:30 +01:00
cketti
cc2413a180
Merge pull request #5209 from k9mail/convert_to_kotlin 2021-03-24 15:03:05 +01:00
cketti
967cc5684b Version 5.733 2021-03-23 19:23:59 +01:00
cketti
c55b19d957 Update translations 2021-03-23 19:03:54 +01:00
cketti
370481236a Convert 'Preferences' to Kotlin 2021-03-22 22:57:33 +01:00
cketti
48718c167d Mark account currently opened in MessageList as active in drawer 2021-03-22 17:25:31 +01:00
cketti
c4ce5f608c Lock DrawerLayout closed when drawer is disabled 2021-03-22 15:38:48 +01:00
cketti
5b82c74ba4 Remove unused ThemeType.ACTION_BAR 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
mehdisadeghi
a0b160c7cd
Add support for In-Reply-To parameter in mailto: URIs (#5194) 2021-03-09 15:32:30 +01:00
cketti
4feb51278b Version 5.732 2021-03-04 17:58:03 +01:00
cketti
1494a73a83 Update translations 2021-03-04 16:11:16 +01:00
cketti
9330f72ee4
Merge pull request #5189 from k9mail/fix_outgoing_server_settings
Don't attempt to create invalid ServerSettings instance
2021-03-04 16:04:21 +01:00
cketti
e0836a169b
Merge pull request #5188 from k9mail/drawer_fixes 2021-03-04 16:03:59 +01:00
cketti
3002964f0a Don't attempt to create invalid ServerSettings instance 2021-03-03 22:25:36 +01:00
cketti
1eb108fa7b Fix layout for split view 2021-03-03 21:57:04 +01:00
cketti
9e29f40892 Fix width of drawer 2021-03-03 21:28:52 +01:00
cketti
1aab01ce41 Update drawer with new account color
When the color of the currently selected account has changed update the drawer to reflect that change.
2021-03-03 20:04:35 +01:00
cketti
51e25a0bdd
Merge pull request #5185 from k9mail/fix_import_screen_bug
Fix importing settings file not containing general settings
2021-03-03 19:06:53 +01:00
cketti
62e2123142 Fix importing settings file not containing general settings 2021-03-02 19:35:49 +01:00
cketti
e642ff2896 Remove Kotlin Android extensions plugin
See https://youtrack.jetbrains.com/issue/KT-42121
2021-03-02 17:58:20 +01:00
cketti
02c38b60b1 Remove synthetic view references from 'PasswordPromptDialogFragment' 2021-03-02 17:38:18 +01:00
cketti
56a9bcac66 Remove synthetic view references from 'AccountSelectionSpinner' 2021-03-02 17:38:18 +01:00
cketti
c2bde4deba Remove synthetic view references from 'AccountSettingsActivity' 2021-03-02 17:38:18 +01:00
cketti
cbe5a22a9d Remove synthetic view references from 'AutocryptKeyTransferActivity' 2021-03-02 17:38:18 +01:00
cketti
8176ec3d41 Remove synthetic view references from 'EditIdentity' 2021-03-02 17:38:18 +01:00
cketti
462e7598a8 Remove synthetic view references from 'SettingsImportFragment' 2021-03-02 17:38:18 +01:00
cketti
32b7a4c6c7 Remove synthetic view references from 'SettingsExportFragment' 2021-03-02 17:38:18 +01:00
cketti
b980d0cacb Remove synthetic view references from 'SettingsListFragment' 2021-03-02 17:38:18 +01:00
cketti
86a8f1d12a
Merge pull request #5180 from k9mail/fix_notification_delete_confirmation 2021-03-02 15:41:59 +01:00
cketti
689d108c53
Merge pull request #5179 from k9mail/fix_remove_account_ui_glitch 2021-03-02 13:46:48 +01:00