From 1090f6bd5a048e17abea28e3ecade03214ee866c Mon Sep 17 00:00:00 2001 From: status102 <102887808+status102@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:41:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=BD=A9=E8=9B=8Bgif?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E8=B7=AF=E5=BE=84=E4=B8=BAstring.Empty?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/ViewModels/UI/RootViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MaaWpfGui/ViewModels/UI/RootViewModel.cs b/src/MaaWpfGui/ViewModels/UI/RootViewModel.cs index b242043ec3..9d95b74574 100644 --- a/src/MaaWpfGui/ViewModels/UI/RootViewModel.cs +++ b/src/MaaWpfGui/ViewModels/UI/RootViewModel.cs @@ -211,9 +211,9 @@ namespace MaaWpfGui.ViewModels.UI private static int _gifIndex = -1; - private static string? _gifPath = null; + private static string _gifPath = string.Empty; - public string? GifPath + public string GifPath { get => _gifPath; set => SetAndNotify(ref _gifPath, value);