mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-04 04:42:05 -04:00
fix(launcher): release DankLauncherV2 resources after close (#1692)
* fix(launcher): release DankLauncherV2 resources after close * launcher: make unload on close optional --------- Co-authored-by: bbedward <bbedward@gmail.com>
This commit is contained in:
@@ -415,6 +415,15 @@ Item {
|
||||
onToggled: checked => SettingsData.set("dankLauncherV2ShowFooter", checked)
|
||||
}
|
||||
|
||||
SettingsToggleRow {
|
||||
settingKey: "dankLauncherV2UnloadOnClose"
|
||||
tags: ["launcher", "unload", "close", "memory", "vram"]
|
||||
text: I18n.tr("Unload on Close")
|
||||
description: I18n.tr("Free VRAM/memory when the launcher is closed. May cause a slight delay when reopening.")
|
||||
checked: SettingsData.dankLauncherV2UnloadOnClose
|
||||
onToggled: checked => SettingsData.set("dankLauncherV2UnloadOnClose", checked)
|
||||
}
|
||||
|
||||
SettingsToggleRow {
|
||||
settingKey: "dankLauncherV2BorderEnabled"
|
||||
tags: ["launcher", "border", "outline"]
|
||||
|
||||
Reference in New Issue
Block a user