File tree Expand file tree Collapse file tree
src/main/java/com/machiav3lli/backup/ui/navigation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ import com.machiav3lli.backup.ui.sheets.SortFilterSheet
2828import com.machiav3lli.backup.viewmodels.BackupBatchVM
2929import com.machiav3lli.backup.viewmodels.HomeVM
3030import com.machiav3lli.backup.viewmodels.RestoreBatchVM
31+ import kotlinx.collections.immutable.persistentListOf
3132import org.koin.compose.koinInject
3233
3334@OptIn(ExperimentalMaterial3Api ::class )
@@ -42,7 +43,7 @@ fun AppNavDisplay(
4243 modifier = modifier,
4344 backStack = backStack,
4445 onBack = { backStack.removeLastOrNull() },
45- sceneStrategy = sceneStrategy,
46+ sceneStrategies = persistentListOf( sceneStrategy) ,
4647 entryProvider = entryProvider {
4748 // TODO add conditional to avoid Welcome/PermissionsPage when not needed
4849 fadeInEntry<NavRoute .Lock > {
You can’t perform that action at this time.
0 commit comments