mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-07-15 10:41:58 +00:00
fix shop grid. fixes #844
This commit is contained in:
parent
e250d42fa5
commit
cfa0e22290
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class ShopFragment : BaseFragment() {
|
|||
var spanCount = 0
|
||||
val context = context
|
||||
if (context != null && context.resources != null) {
|
||||
val itemWidth: Float = context.resources.getDimension(R.dimen.pet_width)
|
||||
val itemWidth: Float = context.resources.getDimension(R.dimen.reward_width)
|
||||
|
||||
spanCount = (width / itemWidth).toInt()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue