SecureInput fix: multiple buttons in form triggered by one tap

This commit is contained in:
Jake-B 2025-04-04 14:11:25 -04:00
parent 8ffe51dd38
commit f57864dbb5

View file

@ -55,7 +55,7 @@ struct SecureInput: View {
}) {
Image(systemName: self.isSecure ? "eye.slash" : "eye")
.accentColor(.secondary)
}
}.buttonStyle(BorderlessButtonStyle())
}
}
}