Compare commits

..

3 Commits

Author SHA1 Message Date
Jay 740580e6a1 iOS Size fix 2020-04-28 07:56:15 +01:00
Jay 262651e631 Apps on iphone size fix 2 2020-04-28 07:55:41 +01:00
Jay f2bd275687 Apps iphone 2020-04-28 07:55:00 +01:00
1 changed files with 13 additions and 5 deletions

View File

@ -43,11 +43,19 @@ return {
backgroundAlpha = 0 backgroundAlpha = 0
}) })
teverse.guiHelper if _DEVICE:sub(0, 6) == "iPhone" then
.gridConstraint(appsContainer, { teverse.guiHelper
cellSize = guiCoord(0, 150, 0, 80), .gridConstraint(appsContainer, {
cellMargin = guiCoord(0, 15, 0, 25) cellSize = guiCoord(0, page.absoluteSize.x - 20, 0, 80),
}) cellMargin = guiCoord(0, 15, 0, 25)
})
else
teverse.guiHelper
.gridConstraint(appsContainer, {
cellSize = guiCoord(0, 160, 0, 80),
cellMargin = guiCoord(0, 15, 0, 25)
})
end
teverse.http:get("https://teverse.com/api/apps", { teverse.http:get("https://teverse.com/api/apps", {
["Authorization"] = "BEARER " .. teverse.userToken ["Authorization"] = "BEARER " .. teverse.userToken