mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 19:11:49 +01:00
Reorganizing advanced options slightly
This commit is contained in:
parent
2bb1427162
commit
c60ffbbb25
@ -92,16 +92,6 @@ class SettingsAdvancedController : SettingsController() {
|
|||||||
coverCache.deleteAllCachedCovers()
|
coverCache.deleteAllCachedCovers()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
preference {
|
|
||||||
titleRes = R.string.clear_database
|
|
||||||
summaryRes = R.string.clear_database_summary
|
|
||||||
|
|
||||||
onClick {
|
|
||||||
val ctrl = ClearDatabaseDialogController()
|
|
||||||
ctrl.targetController = this@SettingsAdvancedController
|
|
||||||
ctrl.showDialog(router)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
preference {
|
preference {
|
||||||
titleRes = R.string.clean_up_downloaded_chapters
|
titleRes = R.string.clean_up_downloaded_chapters
|
||||||
|
|
||||||
@ -113,6 +103,16 @@ class SettingsAdvancedController : SettingsController() {
|
|||||||
ctrl.showDialog(router)
|
ctrl.showDialog(router)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
preference {
|
||||||
|
titleRes = R.string.clear_database
|
||||||
|
summaryRes = R.string.clear_database_summary
|
||||||
|
|
||||||
|
onClick {
|
||||||
|
val ctrl = ClearDatabaseDialogController()
|
||||||
|
ctrl.targetController = this@SettingsAdvancedController
|
||||||
|
ctrl.showDialog(router)
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
preferenceCategory {
|
preferenceCategory {
|
||||||
|
Loading…
Reference in New Issue
Block a user