add Back button on Migration screen
This commit is contained in:
parent
cd990df3ee
commit
55906548ee
2 changed files with 5 additions and 0 deletions
|
|
@ -53,6 +53,7 @@ fun MigrationListScreen(
|
|||
skipManga: (Long) -> Unit,
|
||||
// KMK -->
|
||||
cancelManga: (Long) -> Unit,
|
||||
navigateUp: () -> Unit,
|
||||
// KMK <--
|
||||
searchManually: (MigratingManga) -> Unit,
|
||||
migrateNow: (Long) -> Unit,
|
||||
|
|
@ -68,6 +69,9 @@ fun MigrationListScreen(
|
|||
}
|
||||
AppBar(
|
||||
title = title,
|
||||
// KMK -->
|
||||
navigateUp = navigateUp,
|
||||
// KMK <--
|
||||
actions = {
|
||||
AppBarActions(
|
||||
persistentListOf(
|
||||
|
|
|
|||
|
|
@ -108,6 +108,7 @@ class MigrationListScreen(private val config: MigrationProcedureConfig) : Screen
|
|||
skipManga = { screenModel.removeManga(it) },
|
||||
// KMK -->
|
||||
cancelManga = { screenModel.cancelManga(it) },
|
||||
navigateUp = { navigator.pop() },
|
||||
// KMK <--
|
||||
searchManually = { migrationItem ->
|
||||
val sources = screenModel.getMigrationSources()
|
||||
|
|
|
|||
Loading…
Reference in a new issue