Update On Thu Oct 10 20:36:58 CEST 2024

This commit is contained in:
github-action[bot]
2024-10-10 20:36:59 +02:00
parent 8a4e08c276
commit 269e286871
1475 changed files with 16877 additions and 7791 deletions

View File

@@ -32,19 +32,19 @@ namespace ServiceLib.ViewModels
}
CoreType = SelectedSource?.coreType?.ToString();
BrowseServerCmd = ReactiveCommand.Create(() =>
BrowseServerCmd = ReactiveCommand.CreateFromTask(async () =>
{
_updateView?.Invoke(EViewAction.BrowseServer, null);
});
EditServerCmd = ReactiveCommand.Create(() =>
EditServerCmd = ReactiveCommand.CreateFromTask(async () =>
{
EditServer();
await EditServer();
});
SaveServerCmd = ReactiveCommand.Create(() =>
SaveServerCmd = ReactiveCommand.CreateFromTask(async () =>
{
SaveServerAsync();
await SaveServerAsync();
});
}
@@ -100,7 +100,7 @@ namespace ServiceLib.ViewModels
}
}
private void EditServer()
private async Task EditServer()
{
var address = SelectedSource.address;
if (Utils.IsNullOrEmpty(address))