Fix scope selector in Profile Directory being flipped

This commit is contained in:
Shadowfacts 2022-11-11 18:30:09 -05:00
parent 9da986e3b8
commit 802a0ac9ba
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class ProfileDirectoryViewController: UIViewController {
private func updateProfiles() {
let scope = self.scope
let order = self.order
let local = scope == .everywhere
let local = scope == .instance
let request = Client.getFeaturedProfiles(local: local, order: order)
mastodonController.run(request) { (response) in
guard case let .success(accounts, _) = response,