Fix new conversation VC not responding to status bar taps

This commit is contained in:
Shadowfacts 2023-01-17 19:36:12 -05:00
parent db1bbf7148
commit 78cd1313fe
1 changed files with 10 additions and 0 deletions

View File

@ -279,3 +279,13 @@ extension ConversationViewController {
extension ConversationViewController: ToastableViewController { extension ConversationViewController: ToastableViewController {
} }
extension ConversationViewController: StatusBarTappableViewController {
func handleStatusBarTapped(xPosition: CGFloat) -> StatusBarTapActionResult {
if case .displaying(let vc) = state {
return vc.handleStatusBarTapped(xPosition: xPosition)
} else {
return .continue
}
}
}