mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
dankbar: try something else for binding
This commit is contained in:
@@ -120,10 +120,7 @@ Item {
|
||||
delegate: Loader {
|
||||
id: barLoader
|
||||
required property var modelData
|
||||
property var barConfig: {
|
||||
SettingsData.barConfigs;
|
||||
return SettingsData.getBarConfig(modelData.id);
|
||||
}
|
||||
property var barConfig: SettingsData.barConfigs.find(cfg => cfg.id === modelData.id) || null
|
||||
active: barConfig?.enabled ?? false
|
||||
asynchronous: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user