|
@ -9,6 +9,8 @@ import SwiftUI |
|
|
|
|
|
|
|
|
struct EditAccountView: View { |
|
|
struct EditAccountView: View { |
|
|
|
|
|
|
|
|
|
|
|
@Environment(\.colorScheme) var scheme |
|
|
|
|
|
|
|
|
@EnvironmentObject var viewModel: DamusViewModel |
|
|
@EnvironmentObject var viewModel: DamusViewModel |
|
|
@Environment(\.dismiss) var dismiss |
|
|
@Environment(\.dismiss) var dismiss |
|
|
|
|
|
|
|
@ -22,7 +24,7 @@ struct EditAccountView: View { |
|
|
Form { |
|
|
Form { |
|
|
HStack { |
|
|
HStack { |
|
|
Spacer() |
|
|
Spacer() |
|
|
ProfilePicView(pubkey: state.pubkey, size: 100, highlight: .none, profiles: state.profiles) |
|
|
ProfilePicView(pubkey: state.pubkey, size: 100, highlight: .custom(scheme == .light ? .white : .black, 3), profiles: state.profiles) |
|
|
Spacer() |
|
|
Spacer() |
|
|
} |
|
|
} |
|
|
.listRowBackground(Color.clear) |
|
|
.listRowBackground(Color.clear) |
|
|