Commit graph

1726 commits

Author SHA1 Message Date
Wolf Montwé
abc548edf7
Update Androidx Lifecycle to 2.6.1 2023-04-05 16:49:19 +02:00
cketti
9da6212a86 Version 6.511 2023-03-31 17:14:46 +02:00
cketti
78d552d241 Update translations 2023-03-31 14:53:08 +02:00
cketti
3988d5cca1
Merge pull request #6793 from thundernest/remove_unused_setup_module
Remove unused Gradle module :app:ui:setup
2023-03-30 13:03:49 +02:00
cketti
3ed84fd013 Remove unused Gradle module :app:ui:setup 2023-03-29 12:37:47 +02:00
cketti
b86fcd39fe Change the way the message view is updated on message list changes 2023-03-28 14:41:46 +02:00
cketti
d60b071e88 Fix message details layout when contact pictures are disabled 2023-03-27 17:09:18 +02:00
cketti
7c7ce912f6 Always initialize AuthViewModel with an Account instance
This will avoid a NullPointerException when the activity result is handled after recovering from a process death.
2023-03-22 18:10:29 +01:00
cketti
76eeff60a5
Merge pull request #6778 from thundernest/fix_message_details_crash
Close message details bottom sheet using `dismissAllowingStateLoss()`
2023-03-22 11:00:44 +01:00
cketti
3db912dbdc
Merge pull request #6776 from thundernest/message_list_go_back
Remove `MessageListHandler.goBack()`
2023-03-22 11:00:21 +01:00
cketti
6781024456 Close message details bottom sheet using dismissAllowingStateLoss()
This should avoid a crash where the dialog fragment is being dismissed after `onSaveInstanceState()` has been called.
2023-03-21 18:51:25 +01:00
cketti
03224e9666
Merge pull request #6773 from thundernest/save_fragment_active
Fix missing message view menu after restoring instance state
2023-03-21 17:49:29 +01:00
cketti
b8931bd484 Remove MessageListHandler.goBack()
We no longer call goBack() from a background thread. So using MessageListHandler is no longer necessary.
This change should also avoid trying to modify the back stack after onSaveInstanceState() has been called.
2023-03-21 17:35:10 +01:00
cketti
7c4310fc6c Save value of MessageListFragment.isActive in instance state
Otherwise, restoring the message view after process death will lead to the toolbar menu items being hidden.
2023-03-21 14:42:18 +01:00
Wolf Montwé
37612f90a2
Change :app:ui:legacy to assertk 2023-03-21 14:05:50 +01:00
cketti
c24b339daf Version 6.510 2023-03-17 18:27:58 +01:00
cketti
6bd9da83e7 Update translations 2023-03-17 17:15:33 +01:00
cketti
709b55f2d1
Merge pull request #6762 from thundernest/imap_authentication_failure
IMAP: Ignore errors during LOGIN fallback
2023-03-17 16:38:31 +01:00
cketti
faf3a0b64e On authentication failures display message from server to the user 2023-03-15 19:39:58 +01:00
cketti
d7d221ebbf Don't rely on ViewHolder.unbindView() being called when an item is updated 2023-03-15 15:51:45 +01:00
cketti
4e639256e4 Message Details: Update list when the fragment is resumed
We want to update the list of participants when the associated contact has changed in the contacts database. Right now we don't listen to changes to the contacts database, but refresh the list when onResume() is called. This should catch the case where a user is adding a contact from the message details screen using one of the "add to contacts" buttons.
2023-03-15 15:47:45 +01:00
cketti
5fa993392b Message Details: Use stable IDs for list items 2023-03-15 15:20:35 +01:00
cketti
71c8fb11d9 Message Details: Don't create new adapter every time the list is updated 2023-03-15 14:54:08 +01:00
cketti
bdd3477b28 Message View: Tweak appearance of account chip 2023-03-14 18:21:22 +01:00
cketti
cbea30e5b8
Merge pull request #6746 from thundernest/contact_permission
Message details: Hide "Add to contacts" button when contacts permission is missing
2023-03-14 15:57:09 +01:00
cketti
3edb93e506 Always hide "Add to contacts" button when contact permission is missing 2023-03-14 15:55:41 +01:00
Wolf-Martell Montwé
9900fd4394
Merge pull request #6757 from thundernest/change_truth_to_legacy
Change truth testing library to legacy
2023-03-14 12:38:32 +00:00
Wolf Montwé
00b7bf45d7
Change truth testing library to legacy and only allow usage in old modules 2023-03-14 12:20:55 +01:00
cketti
5ca15aeb47
Merge pull request #6752 from thundernest/message_view_account_chip
Add font size setting for account name in message view
2023-03-14 11:57:10 +01:00
cketti
23981c1af7 Add font size setting for account name in message view 2023-03-13 18:26:59 +01:00
cketti
3060e111db Only show "recent changes" snackbar for 10 seconds 2023-03-10 14:02:19 +01:00
cketti
1e7d5bf4ee Change button text of "recent changes" snackbar 2023-03-10 13:49:13 +01:00
cketti
aa1a98439b Use colorSecondary for the snackbar button text 2023-03-10 13:33:42 +01:00
cketti
c642d7615f
Merge pull request #6743 from thundernest/fab_appearance
Change appearance and behavior of the floating compose button
2023-03-10 13:08:12 +01:00
cketti
c0f787b388
Merge pull request #6728 from thundernest/move_account_chip_back
Message list: Move account chip back to align with second line
2023-03-10 13:07:10 +01:00
cketti
cf635479e9 Change appearance and behavior of the floating compose button 2023-03-09 21:48:16 +01:00
Wolf Montwé
9cdf3e2b7a
Add ContactRepository 2023-03-09 13:48:06 +01:00
Wolf Montwé
5e09e067b0
Add email value type 2023-03-07 18:12:38 +01:00
cketti
5cf4235a3d Message list: Move account chip back to align with second line 2023-03-07 13:57:10 +01:00
Wolf-Martell Montwé
7a9c373f92
Merge pull request #6725 from thundernest/change_messagehelper_to_kotlin
Change MessageHelper to Kotlin
2023-03-07 12:37:19 +00:00
Wolf Montwé
979240b6e1
Remove getInstance as instance should be controlled by dependency injection 2023-03-07 13:18:08 +01:00
cketti
4e883d2562
Merge pull request #6723 from thundernest/system_bar_colors
System bar color changes
2023-03-07 13:02:07 +01:00
Wolf Montwé
b7bfb4006f
Remove unused context property and toMe method 2023-03-07 09:40:32 +01:00
Wolf Montwé
5699ecadb7
Remove getInstance as instance should be controlled by dependency injection 2023-03-06 16:19:37 +01:00
cketti
5262f6f338 Set status bar color on API 27+ devices 2023-03-06 14:54:37 +01:00
cketti
61e50a9238 Fix status bar color on pre-API 23 devices
In the message list/view screens we now use a semi-transparent status bar; in all other screens a black status bar (because that doesn't require any additional code or layout changes). We do this because these devices don't support displaying dark text on a light status bar.
2023-03-03 19:20:58 +01:00
Wolf Montwé
be5894e743
Move EmptyCursor to core:android:common 2023-03-02 14:44:53 +01:00
Wolf-Martell Montwé
f5dfd7d3a4
Merge pull request #6712 from thundernest/add_kotlinx_datetime
Add kotlinx datetime
2023-03-02 14:30:54 +01:00
Wolf Montwé
28e3f62a4e
Change Clock to kotlinx.datetime.Clock 2023-03-02 11:21:32 +01:00
cketti
8d429bcd75 Fix size of star in message view 2023-03-01 18:33:06 +01:00