|
|
@ -22,7 +22,7 @@ struct EditAccountView: View { |
|
|
|
Form { |
|
|
|
HStack { |
|
|
|
Spacer() |
|
|
|
ProfilePicView(pubkey: state.pubkey, size: 100, highlight: .main, profiles: state.profiles) |
|
|
|
ProfilePicView(pubkey: state.pubkey, size: 100, highlight: .none, profiles: state.profiles) |
|
|
|
Spacer() |
|
|
|
} |
|
|
|
.listRowBackground(Color.clear) |
|
|
@ -38,11 +38,6 @@ struct EditAccountView: View { |
|
|
|
.frame(height: 150) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
Section(header: Text("Keys")) { |
|
|
|
TextField("Public Key", text: .constant(account.keypair.pubkey)) |
|
|
|
TextField("Secret Key", text: .constant(account.keypair.privkey ?? "")) |
|
|
|
} |
|
|
|
} |
|
|
|
.toolbar { |
|
|
|
ToolbarItem(placement: .confirmationAction) { |
|
|
|