Browse Source

allow more tab (if selected as home) to open posts

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
3a690681ad
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 16
      app/src/main/res/navigation/more_nav_graph.xml

16
app/src/main/res/navigation/more_nav_graph.xml

@ -61,6 +61,18 @@
app:argType="long" /> app:argType="long" />
</action> </action>
<action
android:id="@+id/action_global_post_view"
app:destination="@id/postViewFragment">
<argument
android:name="media"
app:argType="awais.instagrabber.repositories.responses.Media"
app:nullable="false" />
<argument
android:name="position"
app:argType="integer" />
</action>
<fragment <fragment
android:id="@+id/morePreferencesFragment" android:id="@+id/morePreferencesFragment"
android:name="awais.instagrabber.fragments.settings.MorePreferencesFragment" android:name="awais.instagrabber.fragments.settings.MorePreferencesFragment"
@ -151,4 +163,8 @@
android:id="@+id/postPreferencesFragment" android:id="@+id/postPreferencesFragment"
android:name="awais.instagrabber.fragments.settings.PostPreferencesFragment" android:name="awais.instagrabber.fragments.settings.PostPreferencesFragment"
android:label="@string/pref_category_post" /> android:label="@string/pref_category_post" />
<fragment
android:id="@+id/postViewFragment"
android:name="awais.instagrabber.fragments.PostViewV2Fragment"
android:label="Post" />
</navigation> </navigation>
Loading…
Cancel
Save