From c60ffbbb259f0a2b31a780674c3a9f24340213dc Mon Sep 17 00:00:00 2001 From: Jay Date: Sun, 9 Aug 2020 20:39:19 -0400 Subject: [PATCH] Reorganizing advanced options slightly --- .../ui/setting/SettingsAdvancedController.kt | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt index bc7d37f6bb..41ff71bf26 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsAdvancedController.kt @@ -92,16 +92,6 @@ class SettingsAdvancedController : SettingsController() { 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 { titleRes = R.string.clean_up_downloaded_chapters @@ -113,6 +103,16 @@ class SettingsAdvancedController : SettingsController() { 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 {