Compare commits
1 Commits
hide-hellt
...
tyiu/new-n
| Author | SHA1 | Date | |
|---|---|---|---|
|
8678ca7144
|
@@ -466,6 +466,7 @@ struct ProfileView: View {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var body: some View {
|
var body: some View {
|
||||||
|
ZStack {
|
||||||
ScrollView(.vertical) {
|
ScrollView(.vertical) {
|
||||||
VStack(spacing: 0) {
|
VStack(spacing: 0) {
|
||||||
bannerSection
|
bannerSection
|
||||||
@@ -521,6 +522,13 @@ struct ProfileView: View {
|
|||||||
.fullScreenCover(isPresented: $show_qr_code) {
|
.fullScreenCover(isPresented: $show_qr_code) {
|
||||||
QRCodeView(damus_state: damus_state, pubkey: profile.pubkey)
|
QRCodeView(damus_state: damus_state, pubkey: profile.pubkey)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if profile.pubkey == damus_state.pubkey && damus_state.is_privkey_user {
|
||||||
|
PostButtonContainer(is_left_handed: damus_state.settings.left_handed) {
|
||||||
|
notify(.compose, PostAction.posting)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user