Explorar el Código

android: Properly pop setup fragment from the back stack

Charles Lombardo hace 3 años
padre
commit
c29f14fa0f
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/android/app/src/main/res/navigation/home_navigation.xml

+ 3 - 1
src/android/app/src/main/res/navigation/home_navigation.xml

@@ -20,7 +20,9 @@
         android:label="FirstTimeSetupFragment" >
         <action
             android:id="@+id/action_firstTimeSetupFragment_to_gamesFragment"
-            app:destination="@id/gamesFragment" />
+            app:destination="@id/gamesFragment"
+            app:popUpTo="@id/firstTimeSetupFragment"
+            app:popUpToInclusive="true" />
     </fragment>
 
 </navigation>