Skip to content

Commit abee9ba

Browse files
committed
Fix nullable warning
1 parent 1d16b30 commit abee9ba

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/ViewModels/ActionKeywordModel.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
using System.ComponentModel;
22
using System.Runtime.CompilerServices;
33

4+
#nullable enable
5+
46
namespace Flow.Launcher.Plugin.Explorer.Views
57
{
68
public class ActionKeywordModel : INotifyPropertyChanged
79
{
8-
private static Settings _settings;
10+
private static Settings _settings = null!;
911

10-
public event PropertyChangedEventHandler PropertyChanged;
12+
public event PropertyChangedEventHandler? PropertyChanged;
1113

1214
public static void Init(Settings settings)
1315
{
@@ -54,4 +56,4 @@ public bool Enabled
5456
}
5557
}
5658
}
57-
}
59+
}

0 commit comments

Comments
 (0)