fix: Unwrap Task<Task<string>> from Dispatcher.InvokeAsync with async lambda

This commit is contained in:
SuperDooper
2026-05-08 15:30:26 +02:00
parent 0ffd690098
commit 4e813995c9
+1 -1
View File
@@ -212,7 +212,7 @@ public class UsageViewModel : INotifyPropertyChanged
host.Show();
try { return await host.FetchAsync("https://claude.ai", script); }
finally { host.Close(); }
}).Task;
}).Task.Unwrap();
if (resultJson == null || resultJson == "null") return ([], null, null);