Skip to content

Commit

Permalink
fix: Clear backstack when closing PIN editor [#28]
Browse files Browse the repository at this point in the history
  • Loading branch information
cyb3rko committed Sep 14, 2023
1 parent f3905e4 commit 7bf01df
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app/src/main/res/navigation/nav_graph.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@

<action
android:id="@+id/pinviewer_to_home"
app:destination="@id/HomeFragment" />
app:destination="@id/HomeFragment"
app:popUpTo="@id/nav_graph"
app:popUpToInclusive="true" />

</fragment>

Expand All @@ -57,7 +59,9 @@

<action
android:id="@+id/pinCreator_to_home"
app:destination="@id/HomeFragment" />
app:destination="@id/HomeFragment"
app:popUpTo="@id/nav_graph"
app:popUpToInclusive="true" />

</fragment>

Expand Down

0 comments on commit 7bf01df

Please sign in to comment.