Browse Source

Fix header checkbox for all folder notifications / watched

Antony Male 4 năm trước cách đây
mục cha
commit
da90cf64ba

+ 4 - 0
src/SyncTrayzor/Pages/Settings/SettingsViewModel.cs

@@ -307,8 +307,12 @@ namespace SyncTrayzor.Pages.Settings
             }
 
             this.FolderSettings.AddRange(folderSettings.OrderBy(x => x.FolderLabel));
+
             this.IsAnyFolderWatchEnabledInSyncthing = this.FolderSettings.Any(x => !x.IsWatchAllowed);
 
+            this.UpdateAreAllFoldersWatched();
+            this.UpdateAreAllFoldersNotified();
+
             this.NotifyOfPropertyChange(nameof(this.FolderSettings));
         }
 

+ 1 - 1
src/SyncTrayzor/Properties/Resources.resx

@@ -1002,4 +1002,4 @@ Please donate to my charity fundraising campaign.</value>
   <data name="BarAlertsView_IntelXeGraphics_DismissLink" xml:space="preserve">
     <value>Dismiss</value>
   </data>
-</root>
+</root>