2dust 2025-09-09 17:55:15 +08:00
parent 6ffb3bd30c
commit 8e0c5cb9aa
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