mirror of
https://github.com/bolucat/Archive.git
synced 2026-04-23 00:17:16 +08:00
Update On Fri Oct 11 20:34:13 CEST 2024
This commit is contained in:
@@ -101,7 +101,7 @@ namespace ServiceLib.ViewModels
|
||||
|
||||
_updateView = updateView;
|
||||
|
||||
MessageBus.Current.Listen<string>(Global.CommandRefreshProfiles).Subscribe(async x => await _updateView?.Invoke(EViewAction.DispatcherRefreshServersBiz, null));
|
||||
MessageBus.Current.Listen<string>(EMsgCommand.RefreshProfiles.ToString()).Subscribe(async x => await _updateView?.Invoke(EViewAction.DispatcherRefreshServersBiz, null));
|
||||
|
||||
SelectedProfile = new();
|
||||
SelectedSub = new();
|
||||
@@ -345,7 +345,7 @@ namespace ServiceLib.ViewModels
|
||||
|
||||
public void RefreshServers()
|
||||
{
|
||||
MessageBus.Current.SendMessage("", Global.CommandRefreshProfiles);
|
||||
MessageBus.Current.SendMessage("", EMsgCommand.RefreshProfiles.ToString());
|
||||
}
|
||||
|
||||
public void RefreshServersBiz()
|
||||
@@ -582,7 +582,7 @@ namespace ServiceLib.ViewModels
|
||||
}
|
||||
else
|
||||
{
|
||||
SetDefaultServer(indexId);
|
||||
await SetDefaultServer(indexId);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user