Skip to content

Commit 7b2a2a6

Browse files
committed
Removed repeated viewmodel property
1 parent 0e5369b commit 7b2a2a6

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/Lively/Lively.UI.WinUI/ViewModels/Settings/SettingsSystemViewModel.cs

-17
Original file line numberDiff line numberDiff line change
@@ -34,24 +34,7 @@ public SettingsSystemViewModel(IUserSettingsClient userSettings,
3434
//MainWindow dispatcher may not be ready yet, creating our own instead..
3535
dispatcherQueue = DispatcherQueue.GetForCurrentThread() ?? DispatcherQueueController.CreateOnCurrentThread().DispatcherQueue;
3636

37-
IsDesktopAutoWallpaper = userSettings.Settings.DesktopAutoWallpaper;
3837
SelectedTaskbarThemeIndex = (int)userSettings.Settings.SystemTaskbarTheme;
39-
//IsLockScreenAutoWallpaper = userSettings.Settings.LockScreenAutoWallpaper;
40-
}
41-
42-
private bool _isDesktopAutoWallpaper;
43-
public bool IsDesktopAutoWallpaper
44-
{
45-
get => _isDesktopAutoWallpaper;
46-
set
47-
{
48-
if (userSettings.Settings.DesktopAutoWallpaper != value)
49-
{
50-
userSettings.Settings.DesktopAutoWallpaper = value;
51-
UpdateSettingsConfigFile();
52-
}
53-
SetProperty(ref _isDesktopAutoWallpaper, value);
54-
}
5538
}
5639

5740
private int _selectedTaskbarThemeIndex;

0 commit comments

Comments
 (0)