From e2152e7f7225495bd7ce55c82b689f3b6649aa7b Mon Sep 17 00:00:00 2001 From: Jay Date: Sat, 2 May 2020 14:33:17 -0400 Subject: [PATCH] made XS size a little bit bigger, so it's 5 on regular phones --- .../java/eu/kanade/tachiyomi/ui/library/LibraryController.kt | 2 +- .../kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt index 456198e44d..cf69f45b3e 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryController.kt @@ -437,7 +437,7 @@ class LibraryController( 2 -> 1.25f 3 -> 1.66f 4 -> 3f - else -> .66f + else -> .75f } recycler.updatePaddingRelative( start = (if (alwaysShowScroller) 2 else 5).dpToPx, diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt index 05467343b2..f356d4124b 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/source/browse/BrowseSourceController.kt @@ -172,7 +172,7 @@ open class BrowseSourceController(bundle: Bundle) : 2 -> 1.25f 3 -> 1.66f 4 -> 3f - else -> .66f + else -> .75f } (layoutManager as androidx.recyclerview.widget.GridLayoutManager).spanSizeLookup = object : androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup() {