damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 1b6224e665bd67193f5d273996d6b859c7ddf19d
parent 782f8d6a69060a64d83044f5e5a0246656aa3efd
Author: Bryan Montz <bryanmontz@me.com>
Date:   Sun,  2 Apr 2023 07:10:11 -0500

Show most recently bookmarked notes at the top

Changelog-Fixed: Show most recently bookmarked notes at the top
Closes: #854

Diffstat:
Mdamus/Models/BookmarksManager.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Models/BookmarksManager.swift b/damus/Models/BookmarksManager.swift @@ -61,7 +61,7 @@ class BookmarksManager: ObservableObject { if isBookmarked(ev) { bookmarks = bookmarks.filter { $0 != ev } } else { - bookmarks.append(ev) + bookmarks.insert(ev, at: 0) } }