mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix minimum results to show
This commit is contained in:
parent
523627986b
commit
eef6878d92
1 changed files with 6 additions and 2 deletions
|
|
@ -393,14 +393,18 @@ namespace Flow.Launcher.ViewModel
|
|||
[RelayCommand]
|
||||
private void IncreaseMaxResult()
|
||||
{
|
||||
if (_settings.MaxResultsToShow > 16) return;
|
||||
if (_settings.MaxResultsToShow == 17)
|
||||
return;
|
||||
|
||||
_settings.MaxResultsToShow += 1;
|
||||
}
|
||||
|
||||
[RelayCommand]
|
||||
private void DecreaseMaxResult()
|
||||
{
|
||||
if (_settings.MaxResultsToShow < 2) return;
|
||||
if (_settings.MaxResultsToShow == 2)
|
||||
return;
|
||||
|
||||
_settings.MaxResultsToShow -= 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue