diff --git a/AppGrid.qml b/AppGrid.qml index a1ddcbc..98b5e83 100644 --- a/AppGrid.qml +++ b/AppGrid.qml @@ -522,8 +522,10 @@ LauncherPage { var groupedApps = appLauncher.getGroupedApps(appsArray) appLauncher.destroyAppGroups() appLauncher.createAppGroups(groupedApps) - // Workaround, if users didn't update the os version - if (!appsString.includes("org.fossify.gallery")) mainView.galleryApp = "com.simplemobiletools.gallery.pro" + // Reflect different OS versions and devices + mainView.checkDefaultApps(appsArray) + //if (!appsString.includes("org.fossify.gallery")) mainView.galleryApp = "com.simplemobiletools.gallery.pro" + //if (!appsString.includes("org.fossify.calendar")) mainView.galleryApp = "com.simplemobiletools.calendar.pro" } else { console.log("AppLauncher | Need to retrieve apps from system") mainView.updateSpinner(true) @@ -552,7 +554,7 @@ LauncherPage { } } mainView.updateSpinner(false) - mainView.checkDefaultApps(getAllApps()) + mainView.checkDefaultApps(message["apps"]) } else if (type === "volla.launcher.receivedShortcut") { console.log("AppGrid | New pinned shortcut: " + message["shortcutId"]) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index efdf57e..7a13b37 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,5 +1,5 @@ - +