mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Simplify compare selected indexe part
This commit is contained in:
parent
7a5fc1c534
commit
6223d3a570
1 changed files with 1 additions and 1 deletions
|
|
@ -233,7 +233,7 @@ namespace Flow.Launcher
|
|||
var explorerInfo = _settingsVM.Settings.CustomExplorer;
|
||||
|
||||
var qttabbarIndex = customExplorerList.FindIndex(e => e.Name.Equals("QTTABBAR", StringComparison.OrdinalIgnoreCase));
|
||||
var isQttabbarSelected = qttabbarIndex >= 0 && _settingsVM.Settings.CustomExplorerIndex == qttabbarIndex;
|
||||
var isQttabbarSelected = qttabbarIndex == _settingsVM.Settings.CustomExplorerIndex;
|
||||
|
||||
if (isQttabbarSelected)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue