feat: add option to keep conversations archived (#501)
* feat: add option to keep conversations archived Refs: https://github.com/FossifyOrg/Messages/issues/334 * fix: archive/unarchive when mms is received Previously, conversations weren't unarchived for new MMS messages. * docs: update changelog
This commit is contained in:
parent
cfc16dd886
commit
cf839e99df
10 changed files with 59 additions and 2 deletions
|
|
@ -351,6 +351,32 @@
|
|||
android:id="@+id/settings_outgoing_messages_divider"
|
||||
layout="@layout/divider" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/settings_archived_messages_label"
|
||||
style="@style/SettingsSectionLabelStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/archive" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_keep_conversations_archived_holder"
|
||||
style="@style/SettingsHolderSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<org.fossify.commons.views.MyMaterialSwitch
|
||||
android:id="@+id/settings_keep_conversations_archived"
|
||||
style="@style/SettingsSwitchStyle"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/keep_conversations_archived" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<include
|
||||
android:id="@+id/settings_archive_divider"
|
||||
layout="@layout/divider" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/settings_recycle_bin_label"
|
||||
style="@style/SettingsSectionLabelStyle"
|
||||
|
|
|
|||
|
|
@ -67,6 +67,7 @@
|
|||
<string name="no_archived_conversations">No archived conversations have been found</string>
|
||||
<string name="archive_emptied_successfully">The archive has been emptied successfully</string>
|
||||
<string name="empty_archive_confirmation">Are you sure you want to empty the archive? All archived conversations will be permanently lost.</string>
|
||||
<string name="keep_conversations_archived">Keep conversations archived</string>
|
||||
<!-- Recycle bin -->
|
||||
<string name="restore">Restore</string>
|
||||
<string name="restore_all_messages">Restore all messages</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue