connect: change trust button back to connect when entering password

This commit is contained in:
osy 2024-02-14 12:14:58 -08:00
parent 3232168a13
commit c9927a3d04
1 changed files with 1 additions and 0 deletions

View File

@ -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 {