From 99c6cf42c1dcbbdd1f1675cbd1385ad2756a8628 Mon Sep 17 00:00:00 2001 From: leiurayer <1432593898@qq.com> Date: Fri, 28 Jul 2023 00:19:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Avalonia=E5=88=B011.0.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Downkyi/Downkyi.csproj | 16 ++++++++-------- src/Downkyi/Views/SplashWindow.axaml.cs | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/Downkyi/Downkyi.csproj b/src/Downkyi/Downkyi.csproj index 170e943..d9aa1ac 100644 --- a/src/Downkyi/Downkyi.csproj +++ b/src/Downkyi/Downkyi.csproj @@ -33,15 +33,15 @@ - - - - - - + + + + + + - - + + diff --git a/src/Downkyi/Views/SplashWindow.axaml.cs b/src/Downkyi/Views/SplashWindow.axaml.cs index bc4eb2a..9608ab8 100644 --- a/src/Downkyi/Views/SplashWindow.axaml.cs +++ b/src/Downkyi/Views/SplashWindow.axaml.cs @@ -33,7 +33,7 @@ public partial class SplashWindow : Window // Do some background stuff here. //Task.Delay(1000); - await Dispatcher.UIThread.InvokeAsync(async () => + await Dispatcher.UIThread.InvokeAsync(() => { _mainAction?.Invoke(); Close();