parent
22fe1e8ab1
commit
5ec35b6009
|
@ -13,7 +13,7 @@ class BookmarksViewController: LocalPredicateStatusesViewController {
|
||||||
|
|
||||||
init(mastodonController: MastodonController) {
|
init(mastodonController: MastodonController) {
|
||||||
super.init(
|
super.init(
|
||||||
predicate: { $0.bookmarked ?? false },
|
predicate: { $0.reblog == nil && $0.bookmarked ?? false },
|
||||||
predicateTitle: "Bookmarks",
|
predicateTitle: "Bookmarks",
|
||||||
request: { Client.getBookmarks(range: $0) },
|
request: { Client.getBookmarks(range: $0) },
|
||||||
mastodonController: mastodonController
|
mastodonController: mastodonController
|
||||||
|
|
|
@ -13,7 +13,7 @@ class FavoritesViewController: LocalPredicateStatusesViewController {
|
||||||
|
|
||||||
init(mastodonController: MastodonController) {
|
init(mastodonController: MastodonController) {
|
||||||
super.init(
|
super.init(
|
||||||
predicate: \.favourited,
|
predicate: { $0.reblog == nil && $0.favourited },
|
||||||
predicateTitle: "Favorites",
|
predicateTitle: "Favorites",
|
||||||
request: { Client.getFavourites(range: $0) },
|
request: { Client.getFavourites(range: $0) },
|
||||||
mastodonController: mastodonController
|
mastodonController: mastodonController
|
||||||
|
|
Loading…
Reference in New Issue