Signal-Android/app/src/main/res/navigation/private_story_settings.xml
Alex Hart 174cd860a0 Implement Stories feature behind flag.
Co-Authored-By: Greyson Parrelli <37311915+greyson-signal@users.noreply.github.com>
Co-Authored-By: Rashad Sookram <95182499+rashad-signal@users.noreply.github.com>
2022-03-08 10:41:36 -04:00

49 lines
No EOL
2 KiB
XML

<?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/private_story_settings"
app:startDestination="@id/privateStorySettings">
<fragment
android:id="@+id/privateStorySettings"
android:name="org.thoughtcrime.securesms.stories.settings.custom.PrivateStorySettingsFragment"
android:label="private_story_settings_fragment">
<argument
android:name="distribution_list_id"
app:argType="org.thoughtcrime.securesms.database.model.DistributionListId"
app:nullable="false" />
<action
android:id="@+id/action_privateStorySettings_to_editStoryNameFragment"
app:destination="@id/editStoryNameFragment" />
<action
android:id="@+id/action_privateStorySettings_to_editStoryViewers"
app:destination="@id/addStoryViewers" />
</fragment>
<fragment
android:id="@+id/editStoryNameFragment"
android:name="org.thoughtcrime.securesms.stories.settings.custom.name.EditStoryNameFragment"
android:label="edit_story_name_fragment"
tools:layout="@layout/stories_edit_story_name_fragment">
<argument
android:name="distribution_list_id"
app:argType="org.thoughtcrime.securesms.database.model.DistributionListId"
app:nullable="false" />
<argument
android:name="name"
app:argType="string" />
</fragment>
<fragment
android:id="@+id/addStoryViewers"
android:name="org.thoughtcrime.securesms.stories.settings.custom.viewers.AddViewersFragment"
android:label="add_viewers_fragment"
tools:layout="@layout/stories_base_recipient_selection_fragment">
<argument
android:name="distribution_list_id"
app:argType="org.thoughtcrime.securesms.database.model.DistributionListId" />
</fragment>
</navigation>