Refactor ShareableGroupLinkDialogFragment into a normal Fragment.

Co-authored-by: Rashad Sookram <rashad@signal.org>
This commit is contained in:
Alex Hart
2021-12-14 13:03:47 -04:00
committed by Greyson Parrelli
parent 20d2c43356
commit 68bd9c6e1e
6 changed files with 154 additions and 401 deletions

View File

@@ -33,8 +33,8 @@
<argument
android:name="initial_value"
android:defaultValue="@null"
app:nullable="true"
app:argType="java.lang.Integer" />
app:argType="java.lang.Integer"
app:nullable="true" />
</action>
<argument
@@ -89,6 +89,14 @@
</action>
<action
android:id="@+id/action_conversationSettingsFragment_to_shareableGroupLinkFragment"
app:destination="@id/shareableGroupLinkFragment"
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>
<fragment
@@ -139,6 +147,16 @@
</fragment>
<fragment
android:id="@+id/shareableGroupLinkFragment"
android:name="org.thoughtcrime.securesms.recipients.ui.sharablegrouplink.ShareableGroupLinkFragment">
<argument
android:name="group_id"
app:argType="string" />
</fragment>
<include app:graph="@navigation/app_settings_expire_timer" />
</navigation>