mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-14 05:15:10 +01:00
made XS size a little bit bigger, so it's 5 on regular phones
This commit is contained in:
parent
083686ce60
commit
e2152e7f72
@ -437,7 +437,7 @@ class LibraryController(
|
|||||||
2 -> 1.25f
|
2 -> 1.25f
|
||||||
3 -> 1.66f
|
3 -> 1.66f
|
||||||
4 -> 3f
|
4 -> 3f
|
||||||
else -> .66f
|
else -> .75f
|
||||||
}
|
}
|
||||||
recycler.updatePaddingRelative(
|
recycler.updatePaddingRelative(
|
||||||
start = (if (alwaysShowScroller) 2 else 5).dpToPx,
|
start = (if (alwaysShowScroller) 2 else 5).dpToPx,
|
||||||
|
@ -172,7 +172,7 @@ open class BrowseSourceController(bundle: Bundle) :
|
|||||||
2 -> 1.25f
|
2 -> 1.25f
|
||||||
3 -> 1.66f
|
3 -> 1.66f
|
||||||
4 -> 3f
|
4 -> 3f
|
||||||
else -> .66f
|
else -> .75f
|
||||||
}
|
}
|
||||||
|
|
||||||
(layoutManager as androidx.recyclerview.widget.GridLayoutManager).spanSizeLookup = object : androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup() {
|
(layoutManager as androidx.recyclerview.widget.GridLayoutManager).spanSizeLookup = object : androidx.recyclerview.widget.GridLayoutManager.SpanSizeLookup() {
|
||||||
|
Loading…
Reference in New Issue
Block a user