Skip to content

Commit ef34938

Browse files
Clean code
1 parent 2c00b31 commit ef34938

1 file changed

Lines changed: 1 addition & 12 deletions

File tree

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,17 +1004,6 @@ private static string VerifyOrSetDefaultHotkey(string hotkey, string defaultHotk
10041004

10051005
public bool StartWithEnglishMode => Settings.AlwaysStartEn;
10061006

1007-
private bool isOnPrimaryScreen = true;
1008-
public bool IsOnPrimaryScreen
1009-
{
1010-
get => isOnPrimaryScreen;
1011-
set
1012-
{
1013-
isOnPrimaryScreen = value;
1014-
OnPropertyChanged();
1015-
}
1016-
}
1017-
10181007
#endregion
10191008

10201009
#region Preview
@@ -2151,7 +2140,7 @@ public void Show()
21512140
// Show the taskbar if the setting is enabled
21522141
if (Settings.ShowTaskbarWhenInvoked && !_taskbarShownByFlow)
21532142
{
2154-
Win32Helper.ShowTaskbar(isOnPrimaryScreen);
2143+
Win32Helper.ShowTaskbar();
21552144
_taskbarShownByFlow = true;
21562145
}
21572146
}

0 commit comments

Comments
 (0)