Skip to content

Commit eef6878

Browse files
committed
fix minimum results to show
1 parent 5236279 commit eef6878

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,18 @@ private void DecreaseWidth()
393393
[RelayCommand]
394394
private void IncreaseMaxResult()
395395
{
396-
if (_settings.MaxResultsToShow > 16) return;
396+
if (_settings.MaxResultsToShow == 17)
397+
return;
398+
397399
_settings.MaxResultsToShow += 1;
398400
}
399401

400402
[RelayCommand]
401403
private void DecreaseMaxResult()
402404
{
403-
if (_settings.MaxResultsToShow < 2) return;
405+
if (_settings.MaxResultsToShow == 2)
406+
return;
407+
404408
_settings.MaxResultsToShow -= 1;
405409
}
406410

0 commit comments

Comments
 (0)