소스 검색

Tweak more screen to remove top padding

arkon 5 년 전
부모
커밋
d3a4126e27
1개의 변경된 파일20개의 추가작업 그리고 22개의 파일을 삭제
  1. 20 22
      app/src/main/java/eu/kanade/tachiyomi/ui/more/MoreController.kt

+ 20 - 22
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())
             }
         }