public SettingsViewModel() { HotKeysView = HotKeysMapping.ToView(); MaxHistoryItems = 40; DarkTheme = true; LightTheme = false; RestoreHistoryAtStartup = true; PasteAfterSelection = true; StartWithWindows = true; }
public void Process() { HotKeysView = HotKeysMapping.ToView(); LightTheme = !DarkTheme; TrayIcon.SetIcon(DarkTheme ? AppResources.tray_icon : AppResources.tray_icon_black); MultiClip.Config.MaxHistoryDepth = MaxHistoryItems; Operations.ConfigAppStartup(StartWithWindows); }
public void RefreshHotKeysView() { HotKeysView = HotKeysMapping.ToView(); }