profile: allow post button on every profile and prefill user tag
Changelog-Added: Add post button to profile pages
This commit is contained in:
@@ -523,9 +523,9 @@ struct ProfileView: View {
|
||||
QRCodeView(damus_state: damus_state, pubkey: profile.pubkey)
|
||||
}
|
||||
|
||||
if profile.pubkey == damus_state.pubkey && damus_state.is_privkey_user {
|
||||
if damus_state.is_privkey_user {
|
||||
PostButtonContainer(is_left_handed: damus_state.settings.left_handed) {
|
||||
notify(.compose, PostAction.posting)
|
||||
notify(.compose, PostAction.posting(.user(profile.pubkey)))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user