예제 #1
0
 public void OnClosed(bool saveSettings, IAppRefreshSettings appRefreshSettings)
 {
     backgroundImageSettingsService.LastSelectedId = currentItem.Id;
     if (!saveSettings)
     {
         return;
     }
     backgroundImageSettingsService.SetRawSettings(Settings.Select(a => a.GetUpdatedRawSettings()).ToArray());
 }
예제 #2
0
 public override void OnApply() =>
 backgroundImageSettingsService.SetRawSettings(Settings.Select(a => a.GetUpdatedRawSettings()).ToArray());