mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-18 09:09:42 +02:00
Fix navigation issue after migrating a duplicated entry from History tab
This commit is contained in:
@@ -124,7 +124,7 @@ data object HistoryTab : Tab {
|
||||
screenModel = MigrateDialogScreenModel(),
|
||||
onDismissRequest = onDismissRequest,
|
||||
onClickTitle = { navigator.push(MangaScreen(dialog.oldManga.id)) },
|
||||
onPopScreen = { navigator.replace(MangaScreen(dialog.newManga.id)) },
|
||||
onPopScreen = onDismissRequest,
|
||||
)
|
||||
}
|
||||
null -> {}
|
||||
|
@@ -218,7 +218,7 @@ class MangaScreen(
|
||||
screenModel = MigrateDialogScreenModel(),
|
||||
onDismissRequest = onDismissRequest,
|
||||
onClickTitle = { navigator.push(MangaScreen(dialog.oldManga.id)) },
|
||||
onPopScreen = { navigator.replace(MangaScreen(dialog.newManga.id)) },
|
||||
onPopScreen = onDismissRequest,
|
||||
)
|
||||
}
|
||||
MangaScreenModel.Dialog.SettingsSheet -> ChapterSettingsDialog(
|
||||
|
Reference in New Issue
Block a user