Hide filter button when searching
This commit is contained in:
parent
85f7adaa0a
commit
3bc4b9e4b2
|
@ -187,6 +187,11 @@ private extension TimelineContainerViewController {
|
|||
}
|
||||
|
||||
func updateReadFilterButton() {
|
||||
guard currentTimelineViewController == regularTimelineViewController else {
|
||||
readFilteredButton.isHidden = true
|
||||
return
|
||||
}
|
||||
|
||||
guard let isReadFiltered = regularTimelineViewController.isReadFiltered else {
|
||||
readFilteredButton.isHidden = true
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue