mirror of
https://github.com/2dust/v2rayN.git
synced 2026-08-24 16:12:05 +03:00
Optimization and improvement, using event subscribers
This commit is contained in:
@@ -301,7 +301,7 @@ public class MainWindowViewModel : MyReactiveObject
|
||||
|
||||
private void RefreshSubscriptions()
|
||||
{
|
||||
Locator.Current.GetService<ProfilesViewModel>()?.RefreshSubscriptions();
|
||||
AppEvents.SubscriptionsRefreshRequested.OnNext(Unit.Default);
|
||||
}
|
||||
|
||||
#endregion Servers && Groups
|
||||
|
||||
Reference in New Issue
Block a user