Implement scene invitation and membership controls

This commit is contained in:
Paul Frazee
2022-11-10 16:30:14 -06:00
parent ecf56729b0
commit d3707f30e3
49 changed files with 2603 additions and 462 deletions
+1
View File
@@ -18,6 +18,7 @@ export const Notifications = ({visible}: ScreenParams) => {
if (!visible) {
return
}
store.me.refreshMemberships() // needed for the invite notifications
if (hasSetup) {
console.log('Updating notifications feed')
notesView?.update()
+1 -1
View File
@@ -73,7 +73,7 @@ export const Profile = observer(({visible, params}: ScreenParams) => {
if (!uiState) {
return <View />
}
return <ProfileHeader view={uiState.profile} />
return <ProfileHeader view={uiState.profile} onRefreshAll={onRefresh} />
}
let renderItem
let items: any[] = []