Skip to content

Commit 1f7ade8

Browse files
Fixed bug with new chat creation on iPads in the Demo app
1 parent 7f240c8 commit 1f7ade8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DemoAppSwiftUI/CustomChannelHeader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct CustomChannelModifier: ChannelListHeaderViewModifier {
7979
} label: {
8080
EmptyView()
8181
}
82-
.isDetailLink(false)
82+
.isDetailLink(UIDevice.current.userInterfaceIdiom == .pad)
8383
.alert(isPresented: $logoutAlertShown) {
8484
Alert(
8585
title: Text("Sign out"),

0 commit comments

Comments
 (0)