Fix compile issue on Xcode 12.4

This commit is contained in:
Shadowfacts 2021-04-04 14:04:44 -04:00
parent 1e7bfac13c
commit a3b59c990b
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}