Skip to content

Commit c323646

Browse files
committed
Use AddRange
1 parent f59e239 commit c323646

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Plugins/Flow.Launcher.Plugin.BrowserBookmark/FirefoxBookmarkLoader.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,9 +264,10 @@ public class FirefoxBookmarkLoader : FirefoxBookmarkLoaderBase
264264
/// </summary>
265265
public override List<Bookmark> GetBookmarks()
266266
{
267-
var bookmarks1 = GetBookmarksFromPath(PlacesPath);
268-
var bookmarks2 = GetBookmarksFromPath(MsixPlacesPath);
269-
return bookmarks1.Concat(bookmarks2).ToList();
267+
var bookmarks = new List<Bookmark>();
268+
bookmarks.AddRange(GetBookmarksFromPath(PlacesPath));
269+
bookmarks.AddRange(GetBookmarksFromPath(MsixPlacesPath));
270+
return bookmarks;
270271
}
271272

272273
/// <summary>

0 commit comments

Comments
 (0)