SplashFragment: Remove from backstack when launching an intent

SplashFragment always removes itself from backstack in every other case, do same
when launching the app detail page to handle intents as well.

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
Aayush Gupta
2024-02-22 18:20:20 +05:30
parent 57ddeff710
commit dd584b5b7b
2 changed files with 18 additions and 4 deletions

View File

@@ -355,6 +355,12 @@
<action
android:id="@+id/action_splashFragment_to_googleFragment"
app:destination="@id/googleFragment" />
<action
android:id="@+id/action_splashFragment_to_appDetailsFragment"
app:destination="@id/appDetailsFragment"
app:launchSingleTop="true"
app:popUpTo="@id/mobile_navigation"
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/googleFragment"