mirror of
https://github.com/2dust/v2rayN.git
synced 2026-10-19 03:35:02 +03:00
Improved ReactiveCommand.CreateFromTask
This commit is contained in:
@@ -187,9 +187,9 @@ namespace ServiceLib.ViewModels
|
||||
|
||||
InitCoreType();
|
||||
|
||||
SaveCmd = ReactiveCommand.Create(() =>
|
||||
SaveCmd = ReactiveCommand.CreateFromTask(async () =>
|
||||
{
|
||||
SaveSettingAsync();
|
||||
await SaveSettingAsync();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user