Skip to content

Commit 1390817

Browse files
MattLichtensteinmhammond
authored andcommitted
add DesktopRoots convenience property
1 parent b168ac2 commit 1390817

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/places/ios/Places/Bookmark.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ public enum BookmarkRoots {
2323
BookmarkRoots.ToolbarFolderGUID,
2424
BookmarkRoots.UnfiledFolderGUID,
2525
])
26+
27+
public static let DesktopRoots = Set<String>([
28+
BookmarkRoots.MenuFolderGUID,
29+
BookmarkRoots.ToolbarFolderGUID,
30+
BookmarkRoots.UnfiledFolderGUID,
31+
])
2632
}
2733

2834
// Keeping `BookmarkNodeType` in the swift wrapper because the iOS code relies on the raw value of the variants of

0 commit comments

Comments
 (0)