Commit graph

11623 commits

Author SHA1 Message Date
cketti
34d84ca4f2
Merge pull request #6556 from thundernest/make_lint_happy
Avoid RemoveWorkManagerInitializer lint error
2023-01-06 18:50:16 +01:00
cketti
9b4941c67d Move manifest entry so we don't get a RemoveWorkManagerInitializer lint error 2023-01-06 18:39:46 +01:00
cketti
047276eaa6
Merge pull request #6555 from thundernest/refactor_WorkManager_code
Change `WorkManager` initialization
2023-01-06 16:41:07 +01:00
cketti
fe9b6d4862 Switch to a WorkerFactory that is using Koin to create workers 2023-01-06 16:29:23 +01:00
cketti
8108787957 Change the way WorkManager is initialized 2023-01-06 16:29:23 +01:00
cketti
a7c4744fe1
Merge pull request #6554 from thundernest/GH-6552_fix_crash
Display error message when folder couldn't be found
2023-01-06 16:29:08 +01:00
cketti
ecff33f847 Display error message when folder couldn't be found 2023-01-06 16:21:05 +01:00
cketti
f54d02ff48
Merge pull request #6549 from thundernest/disable_components
Disable more Android components by default
2023-01-06 16:20:22 +01:00
cketti
fc3c9b3035 Add comments to components that are disabled by default 2023-01-06 16:08:56 +01:00
cketti
996f7e28ef Disable more Android components by default
Only enable launcher shortcuts and home screen widgets after an account has been set up.
2023-01-06 16:08:56 +01:00
cketti
d0595f9b0a
Merge pull request #6551 from ka7/spelling
spelling fixes
2023-01-05 12:22:32 +01:00
klemens
6d528918a1 spelling fixes 2023-01-04 21:00:41 +01:00
cketti
a089640058
Merge pull request #6548 from thundernest/recyclerview_bottom_padding
Remove RecyclerView padding when floating action button is disabled
2023-01-04 13:30:25 +01:00
cketti
7963c3562d Remove RecyclerView padding when floating action button is disabled 2023-01-04 13:19:27 +01:00
cketti
1c6bb9d6f0
Merge pull request #6534 from Goooler/remove_enabled
Remove `enabled` attr overriding in manifests
2023-01-04 13:18:48 +01:00
Goooler
280ec9ccb1 Remove unnecessary "enabled" attributes in manifests 2023-01-04 13:03:33 +01:00
cketti
d294c64d21
Merge pull request #6546 from thundernest/uri_matcher_update
Add `GenericUriParser`
2023-01-04 12:05:31 +01:00
cketti
c444be48d7 Add a UriParser for generic URIs
This isn't actually a proper parser for the URI generic syntax. But it is good enough to linkify URIs.
2023-01-04 11:49:46 +01:00
cketti
8485395205 Remove support for linkifying bitcoin: and ethereum: URIs 2023-01-04 11:49:46 +01:00
cketti
49ac222886
Merge pull request #6544 from thundernest/convert_to_kotlin
Convert `TextPartFinder` to Kotlin
2023-01-04 11:49:31 +01:00
cketti
86012f81d0 Refactor TextPartFinder 2023-01-04 11:37:20 +01:00
cketti
5206e76641 Convert TextPartFinder to Kotlin 2023-01-04 11:37:20 +01:00
cketti
05809b9280 Rename .java to .kt 2023-01-04 11:37:20 +01:00
cketti
6c7174dc78 Convert TextPartFinderTest to Kotlin 2023-01-04 11:37:20 +01:00
cketti
294a8cb840 Rename .java to .kt 2023-01-04 11:37:20 +01:00
cketti
74146c5f35 Remove mocking from EncryptionDetectorTest 2023-01-04 11:37:20 +01:00
cketti
3f067b2edb
Merge pull request #6543 from thundernest/compose_fab
Add floating action button for compose action
2023-01-04 11:25:26 +01:00
cketti
ec6be782cf Hide floating action button when ViewSwitcher is animating
Currently, animating between message list and message view is a lot like switching tabs. The guidelines state that a floating action button should not move in unison with the content.

See https://m2.material.io/components/buttons-floating-action-button#behavior
2023-01-04 11:14:57 +01:00
cketti
0cad7f3b47 Add setting to show floating action button on top of the message list 2023-01-04 11:14:57 +01:00
cketti
28907c5c13 Set colorOnSecondary to white in light theme 2023-01-04 11:14:57 +01:00
cketti
1409ee000f Add floating action button to message list screen 2023-01-04 11:14:57 +01:00
cketti
f79e2dd93b
Merge pull request #6537 from schlagi123/remove_drafts_instead_of_moving_them_to_the_trash_on_sending
After sending, delete the draft message immediately, skipping the Trash folder
2022-12-27 20:46:32 +01:00
Bastian Wilhelm
ad5f87519c Don't move draft to Trash folder after sending 2022-12-27 20:36:28 +01:00
cketti
6e68cb0bf5
Merge pull request #6536 from thundernest/filter_folder_list
Ignore extraneous spaces when filtering the folder list
2022-12-22 15:08:49 +01:00
cketti
bdf0e3899b Ignore extraneous spaces when filtering the folder list 2022-12-21 17:24:51 +01:00
cketti
34be0134f5
Merge pull request #6532 from thundernest/remove_font_size_settings
Remove unused font size settings
2022-12-15 13:00:30 +01:00
cketti
431c3fd6ca Remove font size settings from GeneralSettingsDescriptions 2022-12-15 12:14:19 +01:00
mhfarzaneganbb
75e4be161a Remove font size settings for account list and folder list 2022-12-15 12:06:12 +01:00
cketti
f90aad63f8
Merge pull request #6522 from thundernest/dir_auto
Add `dir="auto"` to HTML when composing messages
2022-12-13 14:22:05 +01:00
cketti
a0ae7bd820 Add dir="auto" to HTML when composing messages 2022-12-13 14:07:10 +01:00
cketti
ca2637ed92
Merge pull request #6526 from thundernest/snackbar_behavior
Use CoordinatorLayout for better SnackBar behavior
2022-12-12 18:26:12 +01:00
cketti
dc7c5e8018 Use CoordinatorLayout for better SnackBar behavior
Anchoring the SnackBar to the CoordinatorLayout gives us:
- swipe to dismiss
- drawer being drawn on top of the SnackBar
2022-12-12 16:41:02 +01:00
cketti
942eca1393
Merge pull request #6524 from thundernest/swipe_gesture_outside_webview
Ignore WebView's scroll state when swipe gesture started in other view
2022-12-12 16:33:44 +01:00
cketti
462d64b6b8 Ignore WebView's scroll state when swipe gesture started in other view
We only consider a gesture as swipe gesture for moving to the previous or next message when the WebView can't be scrolled further in that direction. This is the correct behavior when the swipe gesture was started inside the WebView. However, the WebView's scroll state should be ignored when the swipe gesture was started e.g. in the message header. In those cases we always want to swipe to the next/previous message.
2022-12-12 15:55:14 +01:00
cketti
dc3857a91c
Merge pull request #6525 from thundernest/codestyle
Update code style config
2022-12-12 15:33:15 +01:00
cketti
d0f7649f5b Update code style config 2022-12-12 15:31:50 +01:00
cketti
abeff8e126
Merge pull request #6521 from thundernest/sort_folders_in_settings
Sort list of folders in account settings
2022-12-12 15:30:00 +01:00
cketti
e71b4bcb90 Sort list of folders in account settings 2022-12-12 15:02:22 +01:00
cketti
3665deef61
Merge pull request #6516 from thundernest/fix_dismissing_notifications
Fix notification reappearing shortly after it was dismissed
2022-12-12 15:01:13 +01:00
cketti
4b5df5ade0 Make sure operations in NewMailNotificationController are executed atomically 2022-12-07 20:20:11 +01:00