code style

This commit is contained in:
qhy040404
2024-04-08 14:01:59 +08:00
parent 07e2489cab
commit 311941bb89
2 changed files with 2 additions and 2 deletions

View File

@@ -80,4 +80,4 @@ internal sealed class InfoBarService : IInfoBarService
taskContext.BeginInvokeOnMainThread(() => collection.Remove(sender));
sender.Closed -= infobarClosedEventHandler;
}
}
}

View File

@@ -58,7 +58,7 @@ internal sealed partial class LaunchGameShared
}
[Command("HandleConfigurationFileNotFoundCommand")]
private async void HandleConfigurationFileNotFoundAsync()
private async ValueTask HandleConfigurationFileNotFoundAsync()
{
launchOptions.TryGetGameFileSystem(out GameFileSystem? gameFileSystem);
ArgumentNullException.ThrowIfNull(gameFileSystem);