diff --git a/Secretive/Views/SecretDetailView.swift b/Secretive/Views/SecretDetailView.swift index f8c7d12b..e6e335aa 100644 --- a/Secretive/Views/SecretDetailView.swift +++ b/Secretive/Views/SecretDetailView.swift @@ -8,19 +8,21 @@ struct SecretDetailView: View { private let keyWriter = OpenSSHKeyWriter() var body: some View { - Form { - Section { - CopyableView(title: "SHA256 Fingerprint", image: Image(systemName: "touchid"), text: keyWriter.openSSHSHA256Fingerprint(secret: secret)) - Spacer() - .frame(height: 20) - CopyableView(title: "MD5 Fingerprint", image: Image(systemName: "touchid"), text: keyWriter.openSSHMD5Fingerprint(secret: secret)) - Spacer() - .frame(height: 20) - CopyableView(title: "Public Key", image: Image(systemName: "key"), text: keyString) - Spacer() + ScrollView { + Form { + Section { + CopyableView(title: "SHA256 Fingerprint", image: Image(systemName: "touchid"), text: keyWriter.openSSHSHA256Fingerprint(secret: secret)) + Spacer() + .frame(height: 20) + CopyableView(title: "MD5 Fingerprint", image: Image(systemName: "touchid"), text: keyWriter.openSSHMD5Fingerprint(secret: secret)) + Spacer() + .frame(height: 20) + CopyableView(title: "Public Key", image: Image(systemName: "key"), text: keyString) + Spacer() + } } + .padding() } - .padding() .frame(minHeight: 200, maxHeight: .infinity) }