diff --git a/Tusker/Screens/Explore/ProfileDirectoryFilterView.swift b/Tusker/Screens/Explore/ProfileDirectoryFilterView.swift index ad681fadc5..3f219a0f5c 100644 --- a/Tusker/Screens/Explore/ProfileDirectoryFilterView.swift +++ b/Tusker/Screens/Explore/ProfileDirectoryFilterView.swift @@ -118,7 +118,7 @@ class ProfileDirectoryFilterView: UICollectionReusableView { } @objc private func filterChanged() { - let scope = Scope(rawValue: scope.selectedSegmentIndex)! + let scope = Scope(rawValue: self.scope.selectedSegmentIndex)! let order = sort.selectedSegmentIndex == 0 ? DirectoryOrder.active : .new onFilterChanged?(scope, order) }