mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.git
synced 2025-11-19 21:02:53 +08:00
allow null package convert state
This commit is contained in:
@@ -17,7 +17,7 @@ internal sealed class PackageReplaceStatus
|
||||
public PackageReplaceStatus(string name)
|
||||
{
|
||||
Name = name;
|
||||
Description = default!;
|
||||
Description = name;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -225,7 +225,7 @@ internal sealed partial class LaunchGameViewModel : Abstraction.ViewModel
|
||||
// Always ensure game resources
|
||||
if (!await gameService.EnsureGameResourceAsync(SelectedScheme, convertProgress).ConfigureAwait(false))
|
||||
{
|
||||
infoBarService.Warning(SH.ViewModelLaunchGameEnsureGameResourceFail, dialog.State.Name);
|
||||
infoBarService.Warning(SH.ViewModelLaunchGameEnsureGameResourceFail, dialog.State?.Name ?? string.Empty);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user