island: honor launcher unload on close

This commit is contained in:
purian23 committed 2026-10-13 19:35:12 -04:00
1 parent c18d989fc5
commit 35041d03e1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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() {