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);