|
|
@ -1,4 +1,4 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
@ -84,11 +84,7 @@ function syncNow(callback) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function loadSettings() {
|
|
|
|
function loadSettings() {
|
|
|
|
if (getStorage("darktheme") == "true") {
|
|
|
|
applyColorTheme();
|
|
|
|
$("#app").addClass("theme-dark");
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$("#app").removeClass("theme-dark");
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (platform_type == "cordova") {
|
|
|
|
if (platform_type == "cordova") {
|
|
|
|
if (getStorage("wakelock") == "true") {
|
|
|
|
if (getStorage("wakelock") == "true") {
|
|
|
|