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:
parent
b3afa745c3
commit
f1ba11abc3
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user