mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 23:17:51 -04:00
island: honor launcher unload on close
This commit is contained in:
1 parent
c18d989fc5
commit
35041d03e1
2 files changed
+2
-2
No files matched your search
@@ -444,7 +444,7 @@ Item {
|
||||
id: launcherController
|
||||
|
||||
active: controller.launcherSessionActive
|
||||
retainResultsOnClose: true
|
||||
retainResultsOnClose: !SettingsData.dankLauncherV2UnloadOnClose
|
||||
viewModeContext: "spotlight"
|
||||
forceLinearNavigation: true
|
||||
}
|
||||
|
||||
@@ -330,7 +330,7 @@ QtObject {
|
||||
|
||||
// The launcher stays loaded once built, so reopening never waits on a rebuild.
|
||||
function keepsVisuals(activityId) {
|
||||
return activityId === "launcher" && destinationState[activityId].ready;
|
||||
return activityId === "launcher" && !SettingsData.dankLauncherV2UnloadOnClose && destinationState[activityId].ready;
|
||||
}
|
||||
|
||||
function releaseIdleVisuals() {
|
||||
|
||||
Reference in new issue
Block a user