We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7032e72 commit e3f1fa8Copy full SHA for e3f1fa8
Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListView.swift
@@ -246,9 +246,7 @@ public struct ChatChannelListContentView<Factory: ViewFactory>: View {
246
leadingSwipeButtonTapped: { _ in /* No leading button by default. */ }
247
)
248
.onAppear {
249
- if horizontalSizeClass == .regular {
250
- viewModel.preselectChannelIfNeeded()
251
- }
+ viewModel.preselectChannelIfNeeded()
252
}
253
254
0 commit comments