Skip to content

Commit

Permalink
connect: change trust button back to connect when entering password
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Feb 14, 2024
1 parent 8ee00d9 commit f4ae697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Platform/iOS/UTMRemoteConnectView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ private struct ServerConnectView: View {
if case UTMRemoteClient.ConnectionError.passwordRequired = error {
withAnimation {
isPasswordRequired = true
isTrustButton = false
}
} else if case UTMRemoteClient.ConnectionError.fingerprintUntrusted(let fingerprint) = error, server.fingerprint.isEmpty {
withAnimation {
Expand Down

0 comments on commit f4ae697

Please sign in to comment.