Skip to content
Snippets Groups Projects
Commit 94a824a0 authored by Bertrand Presles's avatar Bertrand Presles
Browse files

Found a working solution for overlay status bar, so re-enabled it :)

parent 738ea864
No related branches found
No related tags found
No related merge requests found
Pipeline #6674 skipped
......@@ -64,6 +64,7 @@
</platform>
<platform name="ios">
<preference name="BackupWebStorage" value="local" />
<preference name="StatusBarOverlaysWebView" value="true" />
<icon height="20" src="resources/ios/icon/Icon-App-20x20@1x.png" width="20" />
<icon height="40" src="resources/ios/icon/Icon-App-20x20@2x.png" width="40" />
<icon height="60" src="resources/ios/icon/Icon-App-20x20@3x.png" width="60" />
......
......@@ -422,6 +422,14 @@ $screen-menu: 845px;
/**********
Fix or extend generic CSS
**********/
html, body {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
}
.item.item-icon-right.item-select,
.item.item-icon-right .item-select {
select {
......@@ -1866,7 +1874,7 @@ $ionicon-var-badge-editable: $ionicon-var-edit + "\00a0";
padding-right: 0px !important;
.platform-ios.platform-cordova & {
height: calc(env(safe-area-inset-top) + 160px);
height: calc(env(safe-area-inset-top) + 180px);
}
.hero {
......@@ -1887,7 +1895,7 @@ $ionicon-var-badge-editable: $ionicon-var-edit + "\00a0";
top: 150px;
.platform-ios.platform-cordova & {
top: calc(env(safe-area-inset-top) + 160px);
top: calc(env(safe-area-inset-top) + 180px);
}
}
}
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
......@@ -138,5 +138,16 @@ angular.module('cesium', ['ionic', 'ionic-material', 'ngMessages', 'pascalprecht
// Start plugins eager services
PluginService.start();
ionicReady().then(function() {
if (ionic.Platform.isIOS()) {
if(window.StatusBar) {
// needed to fix Xcode 9 / iOS 11 issue with blank space at bottom of webview
// https://github.com/meteor/meteor/issues/9041
StatusBar.overlaysWebView(false);
StatusBar.overlaysWebView(true);
}
}
});
})
;
......@@ -94,7 +94,7 @@ angular.module("cesium.config", [])
}
},
"version": "1.4.6",
"build": "2019-09-06T23:58:55.971Z",
"build": "2019-09-07T12:44:11.195Z",
"newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new"
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment