mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Remove exit transition for NavHost
This commit is contained in:
parent
ed5dbe1f2c
commit
5b42876fc9
@ -1,5 +1,6 @@
|
|||||||
package org.futo.inputmethod.latin.uix.settings
|
package org.futo.inputmethod.latin.uix.settings
|
||||||
|
|
||||||
|
import androidx.compose.animation.ExitTransition
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.res.stringResource
|
import androidx.compose.ui.res.stringResource
|
||||||
import androidx.navigation.NavHostController
|
import androidx.navigation.NavHostController
|
||||||
@ -39,7 +40,9 @@ fun SettingsNavigator(
|
|||||||
) {
|
) {
|
||||||
NavHost(
|
NavHost(
|
||||||
navController = navController,
|
navController = navController,
|
||||||
startDestination = "home"
|
startDestination = "home",
|
||||||
|
exitTransition = { ExitTransition.None },
|
||||||
|
popExitTransition = { ExitTransition.None }
|
||||||
) {
|
) {
|
||||||
composable("home") { HomeScreen(navController) }
|
composable("home") { HomeScreen(navController) }
|
||||||
composable("languages") { LanguagesScreen(navController) }
|
composable("languages") { LanguagesScreen(navController) }
|
||||||
|
Loading…
Reference in New Issue
Block a user