diff options
| author | ilotterytea <iltsu@alright.party> | 2024-06-09 22:24:57 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-06-09 22:24:57 +0500 |
| commit | 84ee25e22e566f3feead21a2ee0aec175ee72e65 (patch) | |
| tree | a2e602521f3676e78fd17724b533671673446da6 /core/src/kz/ilotterytea/maxon/utils | |
| parent | 4667a95cb0925c94e04e92224c667e8f4910de6e (diff) | |
feat: mobile support for GameScreen and Shop UI
Diffstat (limited to 'core/src/kz/ilotterytea/maxon/utils')
| -rw-r--r-- | core/src/kz/ilotterytea/maxon/utils/OsUtils.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/src/kz/ilotterytea/maxon/utils/OsUtils.java b/core/src/kz/ilotterytea/maxon/utils/OsUtils.java index acafb91..5673394 100644 --- a/core/src/kz/ilotterytea/maxon/utils/OsUtils.java +++ b/core/src/kz/ilotterytea/maxon/utils/OsUtils.java @@ -14,6 +14,8 @@ public class OsUtils { public static boolean isGwt = false; + public static boolean isMobile = isIos || isAndroid; + static { try { Class.forName("com.google.gwt.core.client.GWT"); @@ -29,6 +31,7 @@ public class OsUtils { isLinux = false; isMac = false; is64Bit = false; + isMobile = true; } } |
