summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/index.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/index.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js
index eb3b32b9..511849ad 100755
--- a/StoneIsland/platforms/ios/www/js/index.js
+++ b/StoneIsland/platforms/ios/www/js/index.js
@@ -79,10 +79,16 @@ var app = (function(){
cordova.plugins.Keyboard.disableScroll(true)
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false)
geo.fetch()
+ sim.fetch(app.api_ready)
var image = new Image
image.src = "./img/compass-logo.png"
}
-
+ else {
+ app.api_ready()
+ }
+ }
+
+ app.api_ready = function(){
if (is_iphone_x) {
StatusBar.hide()
}