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:
committed by
William Casarin
parent
782f8d6a69
commit
1b6224e665
@@ -61,7 +61,7 @@ class BookmarksManager: ObservableObject {
|
|||||||
if isBookmarked(ev) {
|
if isBookmarked(ev) {
|
||||||
bookmarks = bookmarks.filter { $0 != ev }
|
bookmarks = bookmarks.filter { $0 != ev }
|
||||||
} else {
|
} else {
|
||||||
bookmarks.append(ev)
|
bookmarks.insert(ev, at: 0)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user