1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 00:42:20 -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.runtime.getPlatformInfo(function(info) {
// don't render statusbar over app UI on iOS
if (info.os === 'cordova-ios' && window.StatusBar) {
window.StatusBar.overlaysWebView(false);
}
chrome.runtime.getPlatformInfo(function() {
// open chrome app in new window
chrome.app.window.create('index.html', {
id: '0',