Fix scope selector in Profile Directory being flipped
This commit is contained in:
parent
9da986e3b8
commit
802a0ac9ba
|
@ -112,7 +112,7 @@ class ProfileDirectoryViewController: UIViewController {
|
||||||
private func updateProfiles() {
|
private func updateProfiles() {
|
||||||
let scope = self.scope
|
let scope = self.scope
|
||||||
let order = self.order
|
let order = self.order
|
||||||
let local = scope == .everywhere
|
let local = scope == .instance
|
||||||
let request = Client.getFeaturedProfiles(local: local, order: order)
|
let request = Client.getFeaturedProfiles(local: local, order: order)
|
||||||
mastodonController.run(request) { (response) in
|
mastodonController.run(request) { (response) in
|
||||||
guard case let .success(accounts, _) = response,
|
guard case let .success(accounts, _) = response,
|
||||||
|
|
Loading…
Reference in New Issue