Fix reblogged statuses appearing Bookmarks

Closes #359
This commit is contained in:
Shadowfacts 2023-04-16 18:20:16 -04:00
parent 22fe1e8ab1
commit 5ec35b6009
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ class BookmarksViewController: LocalPredicateStatusesViewController {
init(mastodonController: MastodonController) {
super.init(
predicate: { $0.bookmarked ?? false },
predicate: { $0.reblog == nil && $0.bookmarked ?? false },
predicateTitle: "Bookmarks",
request: { Client.getBookmarks(range: $0) },
mastodonController: mastodonController

View File

@ -13,7 +13,7 @@ class FavoritesViewController: LocalPredicateStatusesViewController {
init(mastodonController: MastodonController) {
super.init(
predicate: \.favourited,
predicate: { $0.reblog == nil && $0.favourited },
predicateTitle: "Favorites",
request: { Client.getFavourites(range: $0) },
mastodonController: mastodonController