Skip to content
Snippets Groups Projects
Commit d953c3bf authored by Taras's avatar Taras
Browse files

Add type param for invite screen navigation

parent debda236
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,15 @@
app:destination="@id/createCircleDialogFragment" />
<action
android:id="@+id/to_invites"
app:destination="@id/invites_nav_graph" />
app:destination="@id/invites_nav_graph">
<argument
android:name="type"
android:defaultValue="Circle"
app:argType="org.futo.circles.core.model.InviteTypeArg"
app:nullable="false" />
</action>
</fragment>
<include app:graph="@navigation/timeline_nav_graph" />
......
......@@ -34,7 +34,15 @@
<action
android:id="@+id/to_invites"
app:destination="@id/invites_nav_graph" />
app:destination="@id/invites_nav_graph">
<argument
android:name="type"
android:defaultValue="Group"
app:argType="org.futo.circles.core.model.InviteTypeArg"
app:nullable="false" />
</action>
</fragment>
......
......@@ -22,7 +22,15 @@
</action>
<action
android:id="@+id/to_invites"
app:destination="@id/invites_nav_graph" />
app:destination="@id/invites_nav_graph">
<argument
android:name="type"
android:defaultValue="People"
app:argType="org.futo.circles.core.model.InviteTypeArg"
app:nullable="false" />
</action>
</fragment>
<dialog
......
......@@ -30,7 +30,15 @@
app:destination="@id/mediaBackupDialogFragment" />
<action
android:id="@+id/to_invites"
app:destination="@id/invites_nav_graph" />
app:destination="@id/invites_nav_graph">
<argument
android:name="type"
android:defaultValue="Photo"
app:argType="org.futo.circles.core.model.InviteTypeArg"
app:nullable="false" />
</action>
</fragment>
<dialog
......@@ -48,7 +56,7 @@
app:nullable="false" />
<action
android:id="@+id/to_timeline_options"
app:destination="@id/timeline_options_nav_graph" >
app:destination="@id/timeline_options_nav_graph">
<argument
android:name="roomId"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment