1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-25 02:12:17 -05:00

Remove status bar tweak from background.js

This commit is contained in:
Felix Hammerl 2015-01-12 11:15:50 +01:00
parent b3afa745c3
commit f1ba11abc3

View File

@ -2,12 +2,7 @@
chrome.app.runtime.onLaunched.addListener(function() { chrome.app.runtime.onLaunched.addListener(function() {
chrome.runtime.getPlatformInfo(function(info) { chrome.runtime.getPlatformInfo(function() {
// don't render statusbar over app UI on iOS
if (info.os === 'cordova-ios' && window.StatusBar) {
window.StatusBar.overlaysWebView(false);
}
// open chrome app in new window // open chrome app in new window
chrome.app.window.create('index.html', { chrome.app.window.create('index.html', {
id: '0', id: '0',