make launch game view model singleton

This commit is contained in:
Lightczx
2024-05-31 10:19:41 +08:00
parent 5511863d7f
commit b8b9bb2436

View File

@@ -27,7 +27,7 @@ namespace Snap.Hutao.ViewModel.Game;
/// </summary>
[HighQuality]
[ConstructorGenerated]
[Injection(InjectAs.Scoped)]
[Injection(InjectAs.Singleton)]
internal sealed partial class LaunchGameViewModel : Abstraction.ViewModel, IViewModelSupportLaunchExecution
{
/// <summary>