Fix new conversation VC not responding to status bar taps
This commit is contained in:
parent
db1bbf7148
commit
78cd1313fe
|
@ -279,3 +279,13 @@ extension ConversationViewController {
|
|||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue