fix null reference exception (#10372)

This commit is contained in:
Mykhailo Pylyp
2021-03-22 17:47:23 +02:00
committed by GitHub
parent 2698585018
commit 730e5f299f

View File

@@ -21,7 +21,7 @@ namespace ColorPicker.Keyboard
{
private readonly AppStateHandler _appStateHandler;
private readonly IUserSettings _userSettings;
private List<string> _previouslyPressedKeys;
private List<string> _previouslyPressedKeys = new List<string>();
private List<string> _activationKeys = new List<string>();
private GlobalKeyboardHook _keyboardHook;