mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-12-22 04:07:09 +00:00
Spacer
This commit is contained in:
parent
9f5950269f
commit
54015091fe
@ -19,11 +19,11 @@ struct SecretDetailView<SecretType: Secret>: View {
|
||||
}.onDrag {
|
||||
return NSItemProvider(item: NSData(data: self.keyWriter.openSSHFingerprint(secret: self.secret).data(using: .utf8)!), typeIdentifier: kUTTypeUTF8PlainText as String)
|
||||
}
|
||||
Spacer()
|
||||
Spacer().frame(height: 10)
|
||||
GroupBox(label: Text("Public Key")) {
|
||||
Text(keyWriter.openSSHString(secret: secret))
|
||||
.multilineTextAlignment(.leading)
|
||||
.frame(minWidth: 150, maxWidth: .infinity, minHeight: 150)
|
||||
.frame(minWidth: 150, maxWidth: .infinity)
|
||||
.padding()
|
||||
}
|
||||
.onDrag {
|
||||
@ -34,7 +34,7 @@ struct SecretDetailView<SecretType: Secret>: View {
|
||||
Text("Copy")
|
||||
}.padding(),
|
||||
alignment: .bottomTrailing)
|
||||
|
||||
Spacer()
|
||||
}
|
||||
}.padding()
|
||||
.frame(minHeight: 150, maxHeight: .infinity)
|
||||
|
Loading…
Reference in New Issue
Block a user