mirror of
https://github.com/moparisthebest/mail
synced 2024-11-21 16:35:04 -05:00
Remove status bar tweak from background.js
This commit is contained in:
parent
b3afa745c3
commit
f1ba11abc3
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user