Remove exit transition for NavHost

This commit is contained in:
Aleksandras Kostarevas 2024-04-22 11:21:00 -04:00
parent ed5dbe1f2c
commit 5b42876fc9

View File

@ -1,5 +1,6 @@
package org.futo.inputmethod.latin.uix.settings
import androidx.compose.animation.ExitTransition
import androidx.compose.runtime.Composable
import androidx.compose.ui.res.stringResource
import androidx.navigation.NavHostController
@ -39,7 +40,9 @@ fun SettingsNavigator(
) {
NavHost(
navController = navController,
startDestination = "home"
startDestination = "home",
exitTransition = { ExitTransition.None },
popExitTransition = { ExitTransition.None }
) {
composable("home") { HomeScreen(navController) }
composable("languages") { LanguagesScreen(navController) }