Commit graph

1506 commits

Author SHA1 Message Date
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
cketti
da283a7c32 Change the way the message list widget listens to changes
Also change the code to only listen for message list changes when the message list widget has been added to the home screen.
2022-10-19 18:38:03 +02:00
cketti
186a1eda16 Load Unified Inbox when opening a message from the message list widget 2022-10-19 10:47:36 +02:00
cketti
b028c86397 Add thread count to message list widget layout 2022-10-19 10:47:36 +02:00
cketti
98b75c01b2 Simplify intent to start MailListWidgetService 2022-10-18 15:20:28 +02:00
cketti
0482b93071 Simplify the code to notify the message list widget of changes 2022-10-18 15:19:02 +02:00
cketti
343ed16ae0 Update the message list widget on app start
Now that we've changed the component name of `MessageListWidgetService` this is necessary so widget hosts learn of the new name. It's also a good idea in general to update all RemoteViews on app startup (since the app might have been updated).
2022-10-18 15:16:36 +02:00
cketti
2640c0e0a7 Retain fully-qualified name of MessageListWidgetProvider in the manifest 2022-10-17 20:31:32 +02:00
cketti
c9d89657b0 Create a separate Gradle module for the message list widget 2022-10-17 19:15:17 +02:00
cketti
2641a85443 Version 6.309 2022-10-12 19:49:37 +02:00
cketti
c8ff69ba9a Remove unused code 2022-10-12 17:36:16 +02:00
cketti
1f2e6fb171 Remove inappropriate use of lateinit var from MessageListFragment
- Restructure the code so `MessageListAdapter` is only created once and initialized early.
- Remove view references in `onDestroyView()`
2022-10-12 17:32:37 +02:00
cketti
de27506761 Update translations 2022-10-12 16:09:33 +02:00
cketti
e9bd127e45 Change how LinearLayoutManager decides how to anchor the list
If the list is scrolled to the top and items are inserted before the previously first list item, `RecyclerView` is "scrolled" to to show the new first item at the top.
2022-10-11 18:10:11 +02:00
cketti
fbd7f5c53b Import a copy of RecyclerView.LinearLayoutManager
Based on RecyclerView 1.2.1
2022-10-11 18:10:11 +02:00
cketti
bacf652e3e Update URL for AndroidX Preference eXtended 2022-10-10 21:16:27 +02:00
cketti
738ba9c112 Ignore clicks on the send button once sending the message has been triggered 2022-10-10 16:07:18 +02:00
cketti
f7f0f02aa6 Version 6.308 2022-10-06 19:21:44 +02:00
cketti
a02410247b Change background color when the swipe threshold is crossed
Also change the swipe threshold to align with the 72dp keyline.
2022-10-06 17:49:36 +02:00
cketti
c145fe03ea Add settings to configure swipe actions 2022-10-06 17:49:36 +02:00
cketti
ac99032d3c Add support for swipe actions to the message list screen 2022-10-06 17:49:36 +02:00
cketti
88dc1ac3cc Move message list code to 'messagelist' package 2022-10-06 17:01:03 +02:00
cketti
f91bac01d7 Update translations 2022-10-06 14:44:54 +02:00
cketti
2aee9fb56b Collapse search view and finish action mode when drawer was opened 2022-10-06 13:10:03 +02:00
cketti
f206f7e8b6 Remove help text for keyboard shortcuts
The text in Toasts seems to be limited to two lines on modern Android versions. The "feature" is also not very discoverable. I don't think anyone will miss this.
2022-10-06 13:08:35 +02:00
cketti
6d16698eeb Read account default colors from resources 2022-10-05 15:59:29 +02:00
cketti
620f9e35c0 Make background colors of the contact picture fallback part of the theme 2022-10-05 15:59:29 +02:00
cketti
d82bc5844e Create resource file for material colors 2022-10-05 15:59:29 +02:00
cketti
88c1655157 Debounce clicks to open a message or thread 2022-10-05 15:28:49 +02:00
cketti
25863d2d74 Ignore message click events on an inactive MessageListFragment 2022-10-05 15:28:49 +02:00
cketti
8bc631dbda Mark MessageListFragment as inactive when it moves to the back stack 2022-10-05 15:28:49 +02:00
cketti
6db5f09ddf Set app theme before the first Activity is started 2022-10-05 12:15:53 +02:00
cketti
3d03d0f953 Change message list divider to follow the views opacity 2022-09-30 19:00:44 +02:00
cketti
f0bdda63ff Version 6.307 2022-09-26 18:50:23 +02:00
cketti
ef23c076e4 Update translations 2022-09-26 17:58:24 +02:00
cketti
11c27d7fe9 Use proper theme attribute for the background of regular message list items 2022-09-26 17:39:48 +02:00
cketti
3dc9dd2629 Enable nonTransitiveRClass=true 2022-09-26 16:51:50 +02:00
cketti
ee3094d7fe Version 6.306 2022-09-23 11:11:32 +02:00
cketti
2991b4b83e Remove Iconics and FontAwesome 2022-09-22 16:04:32 +02:00
cketti
46c435ab08 Restore previous logic to select the next message after deleting the current one 2022-09-22 13:29:47 +02:00
cketti
c72236b7f3 Change SearchView initialization 2022-09-22 13:14:42 +02:00