28 lines
655 B
Swift
28 lines
655 B
Swift
//
|
|
// BookmarksViewController.swift
|
|
// Tusker
|
|
//
|
|
// Created by Shadowfacts on 12/15/19.
|
|
// Copyright © 2019 Shadowfacts. All rights reserved.
|
|
//
|
|
|
|
import UIKit
|
|
import Pachyderm
|
|
|
|
class BookmarksViewController: LocalPredicateStatusesViewController {
|
|
|
|
init(mastodonController: MastodonController) {
|
|
super.init(
|
|
predicate: { $0.bookmarked ?? false },
|
|
predicateTitle: "Bookmarks",
|
|
request: { Client.getBookmarks(range: $0) },
|
|
mastodonController: mastodonController
|
|
)
|
|
}
|
|
|
|
required init?(coder: NSCoder) {
|
|
fatalError("init(coder:) has not been implemented")
|
|
}
|
|
|
|
}
|