From a3b59c990ba72790db7a240d470265b8886ff4ee Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 4 Apr 2021 14:04:44 -0400 Subject: [PATCH] Fix compile issue on Xcode 12.4 --- Tusker/Screens/Explore/ProfileDirectoryFilterView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tusker/Screens/Explore/ProfileDirectoryFilterView.swift b/Tusker/Screens/Explore/ProfileDirectoryFilterView.swift index ad681fad..3f219a0f 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) }