Try some android stuff

This commit is contained in:
idk
2019-11-24 04:28:14 -05:00
parent 916ee81668
commit 2d17f4fb0f

View File

@@ -353,5 +353,11 @@ chrome.storage.local.get(function(got) {
// Theme all currently open windows
if (!isDroid()) {
browser.windows.getAll().then(wins => wins.forEach(themeWindow));
}
var gettingInfo = browser.runtime.getPlatformInfo();
gettingInfo.then(got => {
if (got.os != "android") {
browser.windows.getAll().then(wins => wins.forEach(themeWindow));
}
});