Embed detail in scrollview (#241)

This commit is contained in:
Max Goedjen 2021-09-25 15:12:35 -07:00 committed by GitHub
parent 3f04126d00
commit 3d305d95ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 11 deletions

View File

@ -8,6 +8,7 @@ struct SecretDetailView<SecretType: Secret>: View {
private let keyWriter = OpenSSHKeyWriter()
var body: some View {
ScrollView {
Form {
Section {
CopyableView(title: "SHA256 Fingerprint", image: Image(systemName: "touchid"), text: keyWriter.openSSHSHA256Fingerprint(secret: secret))
@ -21,6 +22,7 @@ struct SecretDetailView<SecretType: Secret>: View {
}
}
.padding()
}
.frame(minHeight: 200, maxHeight: .infinity)
}