mirror of https://github.com/teverse/teverse
Compare commits
3 Commits
16266ee0b9
...
740580e6a1
Author | SHA1 | Date |
---|---|---|
Jay | 740580e6a1 | |
Jay | 262651e631 | |
Jay | f2bd275687 |
|
@ -43,11 +43,19 @@ return {
|
||||||
backgroundAlpha = 0
|
backgroundAlpha = 0
|
||||||
})
|
})
|
||||||
|
|
||||||
|
if _DEVICE:sub(0, 6) == "iPhone" then
|
||||||
teverse.guiHelper
|
teverse.guiHelper
|
||||||
.gridConstraint(appsContainer, {
|
.gridConstraint(appsContainer, {
|
||||||
cellSize = guiCoord(0, 150, 0, 80),
|
cellSize = guiCoord(0, page.absoluteSize.x - 20, 0, 80),
|
||||||
cellMargin = guiCoord(0, 15, 0, 25)
|
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
|
||||||
|
|
Loading…
Reference in New Issue