Merge branch '2dust:master' into master

pull/7910/head
JieXu 2025-09-09 19:11:16 +08:00 committed by GitHub
commit 3158e400ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 2 additions and 3 deletions

View File

@ -235,6 +235,7 @@ public class MainWindowViewModel : MyReactiveObject
{
await StatisticsManager.Instance.Init(_config, UpdateStatisticsHandler);
}
await RefreshServers();
BlReloadEnabled = true;
await Reload();

View File

@ -257,7 +257,7 @@ public class ProfilesViewModel : MyReactiveObject
SelectedMoveToGroup = new();
await RefreshSubscriptions();
await RefreshServers();
//await RefreshServers();
}
#endregion Init

View File

@ -112,7 +112,6 @@ public partial class ProfilesView : ReactiveUserControl<ProfilesViewModel>
});
RestoreUI();
ViewModel?.RefreshServers();
}
private async void LstProfiles_Sorting(object? sender, DataGridColumnEventArgs e)

View File

@ -106,7 +106,6 @@ public partial class ProfilesView
});
RestoreUI();
ViewModel?.RefreshServers();
}
#region Event