mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-26 06:22:50 -05:00
config refacotr: separate settings.json, session.json, appusage.json
This commit is contained in:
@@ -160,9 +160,9 @@ PanelWindow {
|
||||
onClicked: {
|
||||
if (!root.appData) return
|
||||
if (root.appData.isPinned) {
|
||||
Prefs.removePinnedApp(root.appData.appId)
|
||||
SessionData.removePinnedApp(root.appData.appId)
|
||||
} else {
|
||||
Prefs.addPinnedApp(root.appData.appId)
|
||||
SessionData.addPinnedApp(root.appData.appId)
|
||||
}
|
||||
root.close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user