Skip to content

Commit ee259b7

Browse files
committed
fix: force recreate ConnectedView when switching connections on iPad sidebar
1 parent 02e35a7 commit ee259b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TableProMobile/TableProMobile/Views/ConnectionListView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ struct ConnectionListView: View {
5555
NavigationStack {
5656
if let connection = selectedConnection {
5757
ConnectedView(connection: connection)
58+
.id(connection.id)
5859
} else {
5960
ContentUnavailableView(
6061
"Select a Connection",

0 commit comments

Comments
 (0)