Browse Source

Removed key and highlight around profile view

profile-edit
Sam DuBois 2 years ago
committed by William Casarin
parent
commit
ee2fb3b28c
  1. 7
      damus/Views/Account/EditAccountView.swift

7
damus/Views/Account/EditAccountView.swift

@ -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) {

Loading…
Cancel
Save