예제 #1
0
 public static async Task SyncViewModelsWithSettings()
 {
     if (mainViewModel != null)
     {
         await mainViewModel.Refresh();
     }
     if (searchViewModel != null)
     {
         await searchViewModel.Refresh();
     }
     if (detailsViewModel != null)
     {
         await detailsViewModel.Refresh();
     }
 }