fix: fix app crashing when minimised as route is not parcelable
This commit is contained in:
parent
388c3b1b75
commit
cdbf1970ec
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ fun Searcher(
|
|||
},
|
||||
label = "padding"
|
||||
)
|
||||
var routes by rememberSaveable { mutableStateOf(listOf<Route>()) }
|
||||
var routes by remember { mutableStateOf(listOf<Route>()) }
|
||||
Box(modifier = Modifier.fillMaxSize()) {
|
||||
LaunchedEffect(Unit) {
|
||||
val localRoutes = ptvService.routes()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue