Skip to content

Commit e46feb1

Browse files
committed
fix formatting
1 parent 8dc5def commit e46feb1

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Flow.Launcher/ViewModel/ResultsViewModel.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,8 @@ public void RemoveAll(int Capacity = 512)
280280
{
281281
Clear();
282282
if (this.Capacity > 8000 && Capacity < this.Capacity)
283-
{
284283
this.Capacity = Capacity;
285284

286-
}
287285
OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset));
288286
}
289287

Plugins/Flow.Launcher.Plugin.Explorer/Search/DirectoryInfo/DirectoryInfoSearch.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ private List<Result> DirectorySearch(EnumerationOptions enumerationOption, Query
8181
}
8282
catch (Exception e)
8383
{
84-
if (!(e is ArgumentException)) throw e;
84+
if (!(e is ArgumentException))
85+
throw e;
8586

8687
results.Add(new Result {Title = e.Message, Score = 501});
8788

Plugins/Flow.Launcher.Plugin.Explorer/Search/FolderLinks/QuickFolderAccess.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ internal List<Result> FolderListAll(Query query, List<FolderLink> folderLinks)
3333
.Select(item => _resultManager.CreateFolderResult(item.Nickname, item.Path, item.Path, query))
3434
.ToList();
3535
}
36-
}
36+
}

Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@ private bool UseWindowsIndexForDirectorySearch(string locationPath)
170170
return indexSearch.PathIsIndexed(pathToDirectory);
171171
}
172172
}
173-
}
173+
}

0 commit comments

Comments
 (0)