From d3a4126e27b553c6cfc44a9d866303fe3f2bfb83 Mon Sep 17 00:00:00 2001 From: arkon Date: Thu, 27 Feb 2020 18:34:28 -0500 Subject: [PATCH] Tweak more screen to remove top padding --- .../tachiyomi/ui/more/MoreController.kt | 42 +++++++++---------- 1 file changed, 20 insertions(+), 22 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt index 792e967034..159944e5fb 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt @@ -24,30 +24,28 @@ class MoreController : SettingsController() { val tintColor = context.getResourceColor(R.attr.colorAccent) - preferenceCategory { - preference { - titleRes = R.string.label_extensions - iconRes = R.drawable.ic_extension_black_24dp - iconTint = tintColor - onClick { - router.pushController(ExtensionController().withFadeTransaction()) - } + preference { + titleRes = R.string.label_extensions + iconRes = R.drawable.ic_extension_black_24dp + iconTint = tintColor + onClick { + router.pushController(ExtensionController().withFadeTransaction()) } - preference { - titleRes = R.string.label_download_queue - iconRes = R.drawable.ic_file_download_black_24dp - iconTint = tintColor - onClick { - router.pushController(DownloadController().withFadeTransaction()) - } + } + preference { + titleRes = R.string.label_download_queue + iconRes = R.drawable.ic_file_download_black_24dp + iconTint = tintColor + onClick { + router.pushController(DownloadController().withFadeTransaction()) } - preference { - titleRes = R.string.label_migration - iconRes = R.drawable.ic_compare_arrows_black_24dp - iconTint = tintColor - onClick { - router.pushController(MigrationController().withFadeTransaction()) - } + } + preference { + titleRes = R.string.label_migration + iconRes = R.drawable.ic_compare_arrows_black_24dp + iconTint = tintColor + onClick { + router.pushController(MigrationController().withFadeTransaction()) } }