Make sure the navigator disposes after migration
(cherry picked from commit 9bde4b8b33064aa1332bb94866ada07e19d4d0b6)
This commit is contained in:
parent
8ec0bb9c8f
commit
f6a6dcb540
@ -76,6 +76,10 @@ class MigrationListScreen(private val config: MigrationProcedureConfig) : Screen
|
||||
} + MangaScreen(mangaId)
|
||||
navigator replaceAll newStack.first()
|
||||
navigator.push(newStack.drop(1))
|
||||
|
||||
// need to set the navigator in a pop state to dispose of everything properly
|
||||
navigator.push(this@MigrationListScreen)
|
||||
navigator.pop()
|
||||
} else {
|
||||
navigator.pop()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user