chore: fix WPF Warning

This commit is contained in:
SherkeyXD
2024-08-21 19:12:02 +08:00
parent aad744edc2
commit ca66c839aa
2 changed files with 2 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ public class AppIcon
catch (Exception)
{
throw;
return new BitmapImage();
// return new BitmapImage();
}
}

View File

@@ -2,6 +2,7 @@
// MaaWpfGui - A part of the MAA project
// Copyright (C) 2021 MistEO and Contributors
// </copyright>
#pragma warning disable CS0649
using System;
using System.Runtime.InteropServices;