Skip to content

Commit 8a59308

Browse files
Fixed display of navigation bar in reactions in UIKit containers
1 parent 92b63b5 commit 8a59308

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/StreamChatSwiftUI/ChatChannel/ChatChannelView.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ public struct ChatChannelView<Factory: ViewFactory>: View, KeyboardReadable {
8686
.if(viewModel.reactionsShown, transform: { view in
8787
view.navigationBarHidden(true)
8888
})
89+
.if(!viewModel.reactionsShown, transform: { view in
90+
view.navigationBarHidden(false)
91+
})
8992
.if(viewModel.channelHeaderType == .regular) { view in
9093
view.modifier(factory.makeChannelHeaderViewModifier(for: channel))
9194
}

0 commit comments

Comments
 (0)