mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
feat(tray): Remove global trayBlacklist
This commit is contained in:
@@ -37,7 +37,7 @@ Rectangle {
|
||||
readonly property bool isVertical: barPosition === "left" || barPosition === "right"
|
||||
readonly property bool compact: (Settings.data.bar.density === "compact")
|
||||
property real itemSize: Math.round(Style.capsuleHeight * 0.65 * scaling)
|
||||
property list<string> blacklist: widgetSettings.blacklist || Settings.data.bar.trayBlacklist || [] // Read from settings
|
||||
property list<string> blacklist: widgetSettings.blacklist || widgetMetadata.blacklist || [] // Read from settings
|
||||
property var filteredItems: []
|
||||
|
||||
function wildCardMatch(str, rule) {
|
||||
|
||||
@@ -10,7 +10,7 @@ ColumnLayout {
|
||||
property var widgetMetadata: ({}) // Expected by BarWidgetSettingsDialog
|
||||
|
||||
// Local state for the blacklist
|
||||
property var localBlacklist: widgetData.blacklist || Settings.data.bar.trayBlacklist || []
|
||||
property var localBlacklist: widgetData.blacklist || []
|
||||
|
||||
ListModel {
|
||||
id: blacklistModel
|
||||
|
||||
Reference in New Issue
Block a user