diff --git a/src/Lively/Lively.UI.WinUI/ViewModels/Settings/SettingsSystemViewModel.cs b/src/Lively/Lively.UI.WinUI/ViewModels/Settings/SettingsSystemViewModel.cs index dfca4382..8bc1f8e0 100644 --- a/src/Lively/Lively.UI.WinUI/ViewModels/Settings/SettingsSystemViewModel.cs +++ b/src/Lively/Lively.UI.WinUI/ViewModels/Settings/SettingsSystemViewModel.cs @@ -34,24 +34,7 @@ public SettingsSystemViewModel(IUserSettingsClient userSettings, //MainWindow dispatcher may not be ready yet, creating our own instead.. dispatcherQueue = DispatcherQueue.GetForCurrentThread() ?? DispatcherQueueController.CreateOnCurrentThread().DispatcherQueue; - IsDesktopAutoWallpaper = userSettings.Settings.DesktopAutoWallpaper; SelectedTaskbarThemeIndex = (int)userSettings.Settings.SystemTaskbarTheme; - //IsLockScreenAutoWallpaper = userSettings.Settings.LockScreenAutoWallpaper; - } - - private bool _isDesktopAutoWallpaper; - public bool IsDesktopAutoWallpaper - { - get => _isDesktopAutoWallpaper; - set - { - if (userSettings.Settings.DesktopAutoWallpaper != value) - { - userSettings.Settings.DesktopAutoWallpaper = value; - UpdateSettingsConfigFile(); - } - SetProperty(ref _isDesktopAutoWallpaper, value); - } } private int _selectedTaskbarThemeIndex;