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