Show most recently bookmarked notes at the top

Changelog-Fixed: Show most recently bookmarked notes at the top
Closes: #854
This commit is contained in:
Bryan Montz
2023-04-02 07:10:11 -05:00
committed by William Casarin
parent 782f8d6a69
commit 1b6224e665

View File

@@ -61,7 +61,7 @@ class BookmarksManager: ObservableObject {
if isBookmarked(ev) {
bookmarks = bookmarks.filter { $0 != ev }
} else {
bookmarks.append(ev)
bookmarks.insert(ev, at: 0)
}
}