Move Copy Public Key above Copy Fingerprint
This commit is contained in:
1 parent
cf1ffc9cf4
commit
9793471302
1 file changed
+4
-4
@@ -1426,13 +1426,13 @@ struct KeyObjectActions: View {
|
||||
let export: () -> Void
|
||||
|
||||
var body: some View {
|
||||
// Copy Public Key repeats Copy Fingerprint's verb, so the glyph stays on
|
||||
// Copy Fingerprint repeats Copy Public Key's verb, so the glyph stays on
|
||||
// the first of the pair.
|
||||
Button("Copy Fingerprint", systemImage: MenuSymbol.copy) {
|
||||
Button("Copy Public Key", systemImage: MenuSymbol.copy) { copyToPasteboard(key.publicKey) }
|
||||
.disabled(key.publicKey.isEmpty)
|
||||
Button("Copy Fingerprint") {
|
||||
copyToPasteboard(key.fingerprint)
|
||||
}
|
||||
Button("Copy Public Key") { copyToPasteboard(key.publicKey) }
|
||||
.disabled(key.publicKey.isEmpty)
|
||||
Divider()
|
||||
Button("Export to Hosts", systemImage: MenuSymbol.export, action: export)
|
||||
.disabled(key.publicKey.isEmpty)
|
||||
|
||||
Reference in new issue
Block a user