made XS size a little bit bigger, so it's 5 on regular phones

This commit is contained in:
Jay 2020-05-02 14:33:17 -04:00
parent 083686ce60
commit e2152e7f72
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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() {