Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Jetcaster/mobile/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/Theme.Jetcaster"
android:enableOnBackInvokedCallback="true"
android:usesCleartextTraffic="true">

<activity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

package com.example.jetcaster.ui

import androidx.compose.animation.EnterTransition
import androidx.compose.animation.scaleOut
import androidx.compose.material3.AlertDialog
import androidx.compose.material3.Text
import androidx.compose.material3.TextButton
Expand All @@ -40,7 +42,9 @@ fun JetcasterApp(
if (appState.isOnline) {
NavHost(
navController = appState.navController,
startDestination = Screen.Home.route
startDestination = Screen.Home.route,
popExitTransition = { scaleOut(targetScale = 0.9f) },
popEnterTransition = { EnterTransition.None }
) {
composable(Screen.Home.route) { backStackEntry ->
MainScreen(
Expand Down
Loading