Commit graph

1546 commits

Author SHA1 Message Date
Bastian Wilhelm
ad5f87519c Don't move draft to Trash folder after sending 2022-12-27 20:36:28 +01:00
cketti
bdf0e3899b Ignore extraneous spaces when filtering the folder list 2022-12-21 17:24:51 +01:00
mhfarzaneganbb
75e4be161a Remove font size settings for account list and folder list 2022-12-15 12:06: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
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
e71b4bcb90 Sort list of folders in account settings 2022-12-12 15:02:22 +01:00
Goooler
65e07cba13 Disable buildFeatures by default to speed up builds 2022-12-07 19:21:11 +01:00
Goooler
be9b4ef4aa Configure android extensions in subprojects 2022-12-07 19:04:23 +01:00
cketti
399ff52840
Merge pull request #6497 from thundernest/mdc_theme
Switch to MaterialComponents themes
2022-11-28 19:00:23 +01:00
cketti
77756e56da Add support for search in recipient addresses 2022-11-28 18:16:45 +01:00
cketti
07a23d41b9 Tweak section headers in about screen
Use same style that is used in the settings screens.
2022-11-28 17:37:59 +01:00
cketti
72da6f8005 Tweak section headers in settings list screen
Use same style that is used in general/account settings screen.
2022-11-28 17:37:59 +01:00
cketti
bf5a03089f Version 6.400 2022-11-28 14:29:35 +01:00
cketti
d3658804c6 Switch to MaterialComponents themes 2022-11-22 16:05:41 +01:00
cketti
4a7ac29657 Version 6.312 2022-11-15 15:35:05 +01:00
cketti
e2672cb0dd Update translations 2022-11-15 13:33:49 +01:00
cketti
be17b94cf4 Don't enable archive swipe action in archive folder 2022-11-14 14:28:52 +01:00
cketti
97ec70a631 Reset swiped view when moving an item 2022-11-14 14:24:05 +01:00
cketti
e17459f210 Reset swiped views when canceling a swipe action in the confirmation dialog 2022-11-14 14:18:21 +01:00
cketti
30a2126fcb Mark view when swipe starts so ItemAnimator doesn't interfere 2022-11-14 13:28:31 +01:00
cketti
789fbe4d43 Deselect message during swipe
When swiping a selected message we remove the selection state at the start and restore it afterwards if the list item isn't removed. Except when the swipe action is "toggle selection". Then we keep the current selection state while the list item is dragged.
2022-11-11 14:00:11 +01:00
cketti
273d0b433d Handle animating a swiped view back to its start position inside ItemTouchHelper 2022-11-10 21:03:38 +01:00
cketti
ecdffa15a4 Avoid crash when one of the swipe actions is "None" 2022-11-09 11:48:42 +01:00
cketti
ebb54c26cd Use width of swipe action text to calculate maximum swipe distance 2022-11-09 11:48:42 +01:00
cketti
f75101dfc1 Add support for swipe actions not animating the view all the way off the screen 2022-11-09 11:48:42 +01:00
cketti
944595f905 Use our own copy of ItemTouchHelper 2022-11-09 11:48:42 +01:00
cketti
04d97b4e2e Don't crash when trying to remove certificates for incomplete accounts 2022-11-07 17:03:49 +01:00
cketti
73d9100087 Make AccountManager.getAccountsFlow() only return fully set up accounts 2022-11-07 16:39:03 +01:00
cketti
647340e1e8 Swipe actions: Display action name next to the icon 2022-11-02 11:57:38 +01:00
cketti
bcf89ed0c3 Version 6.311 2022-11-01 12:19:51 +01:00
cketti
d88be8dab7 Move display logic from SwipeResourceProvider to MessageListSwipeCallback 2022-10-28 22:28:44 +02:00
cketti
a0edf47b2b Simplify SwipeResourceProvider code that returns the action background color 2022-10-28 22:28:44 +02:00
cketti
367948ac7a Only hide the "reply to" field if it doesn't contain content 2022-10-28 22:08:48 +02:00
cketti
c25972cccb Don't tie requesting focus to changing visibility of the "reply to" input
The "reply to" input field should not be focused when restoring the instance state, i.e. the visibility of the view.
2022-10-28 22:08:48 +02:00
cketti
d21fb83289 Change ReplyToPresenterTest to not extend K9RobolectricTest 2022-10-28 22:08:48 +02:00
cketti
d7f4ab88ea Use container view when determining visibility of "reply to" input 2022-10-28 22:08:48 +02:00
cketti
880b4d88b1 Remove DiscoveryTarget 2022-10-26 18:48:52 +02:00
cketti
e91e1e49bf Ignore page change events to an item that is no longer in the adapter 2022-10-26 12:09:31 +02:00
cketti
4b528fc8b4 Don't use smooth scrolling when moving to previous/next message
This seems to work around a bug where sometimes the scroll operation isn't completed and the `MessageViewFragment` being scrolled to is never marked as active. See #6346.
2022-10-25 17:36:04 +02:00
cketti
a7fcf9f607 Only let the active message view update the toolbar menu 2022-10-25 13:23:49 +02:00
cketti
aeb20e20c7 Ignore clicks on views for messages that have been removed from the list 2022-10-24 19:09:13 +02:00
cketti
2d9be7a0b6 Version 6.310 2022-10-24 14:14:41 +02:00
cketti
29652d9cbe Update translations 2022-10-24 13:33:28 +02:00
cketti
7274d7790c Add log entry when creating MessageBuilder has failed 2022-10-22 19:35:37 +02:00
cketti
c5361e9329 Only disable clicks on send button if MessageBuilder was successfully created 2022-10-22 19:35:37 +02:00
cketti
2f3ac6ba94 Don't launch a crypto provider activity until MessageViewFragment becomes active 2022-10-22 18:35:26 +02:00
cketti
f0b369711b Remove support for old launcher shortcuts 2022-10-22 18:20:34 +02:00
cketti
957c6dc43a Don't put serialized LocalSearch instance in account shortcut Intent 2022-10-22 18:20:34 +02:00
cketti
5b448e5c69 Improve loading layouts of the message list widget 2022-10-20 13:20:39 +02:00
cketti
86ae99dd6e Fix size of ListView in message list widget 2022-10-20 12:08:36 +02:00