fix formatting

This commit is contained in:
Jeremy Wu 2021-01-25 18:57:58 +11:00
parent 8dc5def2e9
commit e46feb1165
4 changed files with 4 additions and 5 deletions

View file

@ -280,10 +280,8 @@ namespace Flow.Launcher.ViewModel
{
Clear();
if (this.Capacity > 8000 && Capacity < this.Capacity)
{
this.Capacity = Capacity;
}
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
}

View file

@ -81,7 +81,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search.DirectoryInfo
}
catch (Exception e)
{
if (!(e is ArgumentException)) throw e;
if (!(e is ArgumentException))
throw e;
results.Add(new Result {Title = e.Message, Score = 501});

View file

@ -33,4 +33,4 @@ namespace Flow.Launcher.Plugin.Explorer.Search.FolderLinks
.Select(item => _resultManager.CreateFolderResult(item.Nickname, item.Path, item.Path, query))
.ToList();
}
}
}

View file

@ -170,4 +170,4 @@ namespace Flow.Launcher.Plugin.Explorer.Search
return indexSearch.PathIsIndexed(pathToDirectory);
}
}
}
}