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
1 changed files with 1 additions and 6 deletions

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',