Minor cleanup
This commit is contained in:
parent
e0ad9f78ac
commit
fdb17e2f74
@ -445,8 +445,7 @@ class MangaScreen(
|
|||||||
MaterialAlertDialogBuilder(context)
|
MaterialAlertDialogBuilder(context)
|
||||||
.setTitle(R.string.action_open_in_web_view)
|
.setTitle(R.string.action_open_in_web_view)
|
||||||
.setSingleChoiceItems(
|
.setSingleChoiceItems(
|
||||||
mergedManga.mapIndexed { index, _ -> sources[index].toString() }
|
Array(mergedManga.size) { index -> sources[index].toString() },
|
||||||
.toTypedArray(),
|
|
||||||
-1,
|
-1,
|
||||||
) { dialog, index ->
|
) { dialog, index ->
|
||||||
dialog.dismiss()
|
dialog.dismiss()
|
||||||
|
@ -299,7 +299,7 @@ object DebugFunctions {
|
|||||||
runBlocking { handler.await { ehQueries.resetReaderViewerForAllManga() } }
|
runBlocking { handler.await { ehQueries.resetReaderViewerForAllManga() } }
|
||||||
}
|
}
|
||||||
|
|
||||||
fun migrateAllNhentaiToOtherLang() {
|
fun migrateLangNhentaiToMultiLangSource() {
|
||||||
val sources = nHentaiSourceIds - NHentai.otherId
|
val sources = nHentaiSourceIds - NHentai.otherId
|
||||||
|
|
||||||
runBlocking { handler.await { ehQueries.migrateAllNhentaiToOtherLang(NHentai.otherId, sources) } }
|
runBlocking { handler.await { ehQueries.migrateAllNhentaiToOtherLang(NHentai.otherId, sources) } }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user