Implement profile updates
This commit is contained in:
parent
fe52d19c48
commit
38ed9a7943
9 changed files with 24 additions and 33 deletions
|
@ -43,7 +43,13 @@ export function Component({}: {}) {
|
|||
handle: fullHandle,
|
||||
})
|
||||
// set the scene profile
|
||||
// TODO
|
||||
await store.api.app.bsky.actor
|
||||
.updateProfile({
|
||||
did: createSceneRes.data.did,
|
||||
displayName,
|
||||
description,
|
||||
})
|
||||
.catch(e => console.error(e)) // an error here is not critical
|
||||
// follow the scene
|
||||
await store.api.app.bsky.graph.follow
|
||||
.create(
|
||||
|
|
|
@ -127,7 +127,7 @@ export const ProfileHeader = observer(function ProfileHeader({
|
|||
if (isCreator) {
|
||||
dropdownItems.push({
|
||||
label: 'Edit Profile',
|
||||
onPress: () => {}, // TODO
|
||||
onPress: onPressEditProfile,
|
||||
})
|
||||
}
|
||||
if (isMember) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue