mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-03 15:11:42 +01:00
Add universal disappearing messages.
This commit is contained in:
committed by
Greyson Parrelli
parent
8c6a88374b
commit
defd5e8047
@@ -260,6 +260,14 @@
|
||||
app:exitAnim="@anim/fragment_open_exit"
|
||||
app:popEnterAnim="@anim/fragment_close_enter"
|
||||
app:popExitAnim="@anim/fragment_close_exit" />
|
||||
<action
|
||||
android:id="@+id/action_privacySettingsFragment_to_disappearingMessagesTimerSelectFragment"
|
||||
app:destination="@id/app_settings_expire_timer"
|
||||
app:enterAnim="@anim/fragment_open_enter"
|
||||
app:exitAnim="@anim/fragment_open_exit"
|
||||
app:popEnterAnim="@anim/fragment_close_enter"
|
||||
app:popExitAnim="@anim/fragment_close_exit" />
|
||||
|
||||
</fragment>
|
||||
|
||||
<activity
|
||||
@@ -271,6 +279,8 @@
|
||||
android:id="@+id/advancedPrivacySettingsFragment"
|
||||
android:name="org.thoughtcrime.securesms.components.settings.app.privacy.advanced.AdvancedPrivacySettingsFragment"
|
||||
android:label="advanced_privacy_settings_fragment" />
|
||||
|
||||
<include app:graph="@navigation/app_settings_expire_timer" />
|
||||
<!-- endregion -->
|
||||
|
||||
<!-- region Data and Storage -->
|
||||
|
||||
40
app/src/main/res/navigation/app_settings_expire_timer.xml
Normal file
40
app/src/main/res/navigation/app_settings_expire_timer.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/app_settings_expire_timer"
|
||||
app:startDestination="@id/expireTimerSettingsFragment">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/expireTimerSettingsFragment"
|
||||
android:name="org.thoughtcrime.securesms.components.settings.app.privacy.expire.ExpireTimerSettingsFragment"
|
||||
android:label="disappearing_messages_timer_select_fragment">
|
||||
|
||||
<argument
|
||||
android:name="recipient_id"
|
||||
android:defaultValue="@null"
|
||||
app:argType="org.thoughtcrime.securesms.recipients.RecipientId"
|
||||
app:nullable="true" />
|
||||
|
||||
<argument
|
||||
android:name="for_result_mode"
|
||||
android:defaultValue="false"
|
||||
app:argType="boolean" />
|
||||
|
||||
<argument
|
||||
android:name="initial_value"
|
||||
android:defaultValue="@null"
|
||||
app:nullable="true"
|
||||
app:argType="java.lang.Integer" />
|
||||
|
||||
<action
|
||||
android:id="@+id/action_expireTimerSettingsFragment_to_customExpireTimerSelectDialog"
|
||||
app:destination="@id/customExpireTimerSelectDialog" />
|
||||
</fragment>
|
||||
|
||||
<dialog
|
||||
android:id="@+id/customExpireTimerSelectDialog"
|
||||
android:name="org.thoughtcrime.securesms.components.settings.app.privacy.expire.CustomExpireTimerSelectDialog"
|
||||
tools:layout="@layout/custom_expire_timer_select_dialog" />
|
||||
|
||||
</navigation>
|
||||
Reference in New Issue
Block a user