Skip to content

Commit 7fce1f2

Browse files
committed
review feedback, Raise PropertyChanged
1 parent ef6e339 commit 7fce1f2

File tree

1 file changed

+14
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.BrowserBookmark/Models

1 file changed

+14
-1
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/Models/Settings.cs

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,5 +89,18 @@ public bool FetchMissingFavicons
8989
}
9090
}
9191

92-
public ObservableCollection<CustomBrowser> CustomBrowsers { get; set; } = new();
92+
private ObservableCollection<CustomBrowser> _customBrowsers = new();
93+
94+
public ObservableCollection<CustomBrowser> CustomBrowsers
95+
{
96+
get => _customBrowsers;
97+
set
98+
{
99+
if (_customBrowsers != value)
100+
{
101+
_customBrowsers = value ?? new();
102+
OnPropertyChanged();
103+
}
104+
}
105+
}
93106
}

0 commit comments

Comments
 (0)