diff --git a/AppGrid.qml b/AppGrid.qml index b136e04c..1ca0d41d 100644 --- a/AppGrid.qml +++ b/AppGrid.qml @@ -84,6 +84,8 @@ Page { property int selectedGroup: 0 property int maxAppCount: 12 + property double lastAppsCheck: 0.0 + background: Rectangle { anchors.fill: parent color: "transparent" @@ -121,7 +123,7 @@ Page { apps = getAllApps() appLauncher.destroyAppGroups() appLauncher.createAppGroups(getGroupedApps(apps)) - } else if (key === "useColoredIcons") { + } else if (key === "coloredIcons") { settings.useColoredIcons = value for (i = 0; i < appLauncher.appGroups.length; i++) { appGroup = appLauncher.appGroups[i] @@ -428,10 +430,14 @@ Page { appLauncher.appCount = message["appCount"] mainView.updateSpinner(true) AN.SystemDispatcher.dispatch("volla.launcher.appAction", new Object) + } else if (new Date().valueOf() - appLauncher.lastAppsCheck > 3600000) { + console.debug("AppGrid | Will update statistics") + AN.SystemDispatcher.dispatch("volla.launcher.appAction", new Object) } } else if (type === "volla.launcher.appResponse") { console.log("AppGrid | " + message["appsCount"] + " app infos received") settings.sync() + appLauncher.lastAppsCheck = new Date().valueOf() var groupedApps = appLauncher.getGroupedApps(message["apps"]) if (appLauncher.appGroups.length !== groupedApps.lemgth) { for (var i = 0; i < appLauncher.appGroups.length; i++) { diff --git a/AppGroup.qml b/AppGroup.qml index 9631ba41..56ad8b41 100644 --- a/AppGroup.qml +++ b/AppGroup.qml @@ -55,6 +55,7 @@ Item { } onDesaturationChanged: { + console.log("AppGroup " + groupIndex + " | onDesaturationChanged to " + desaturation) groupGrid.forceLayout() } diff --git a/Details.qml b/Details.qml index 56221420..28c78d37 100644 --- a/Details.qml +++ b/Details.qml @@ -303,7 +303,7 @@ Page { textFormat: Text.RichText verticalAlignment: Text.AlignTop background: Rectangle { - color: mainView.backgroundOpacity === 1.0 ? "green" : "transparent" + color: "transparent" border.color: "transparent" } diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 4d04cb17..e44e1103 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,5 +1,5 @@ - +