Hide filter button when searching

This commit is contained in:
Maurice Parker 2020-05-02 13:25:48 -05:00
parent 85f7adaa0a
commit 3bc4b9e4b2
1 changed files with 5 additions and 0 deletions

View File

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