Skip to content

Commit baed1eb

Browse files
committed
app-ios: make port forward more reliable
1 parent 78ad73d commit baed1eb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app-ios/app-ios/Views/PortForwardsView.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,9 @@ struct WebViewContainer: View {
542542
.foregroundColor(.white)
543543
.cornerRadius(8)
544544
}
545-
)
545+
).onAppear {
546+
viewModel.restartTCPServerIfNeeded(for: portForward.id)
547+
}
546548
}
547549
.padding()
548550
.background(Color(.systemBackground))

0 commit comments

Comments
 (0)