Add HorzSwipe gesture and integrate it into the ViewSelector
This commit is contained in:
parent
79d5708b69
commit
9ce02dff5b
6 changed files with 191 additions and 109 deletions
|
@ -140,7 +140,6 @@ export const Menu = ({navIdx, visible}: ScreenParams) => {
|
|||
}
|
||||
label="Settings"
|
||||
url="/settings"
|
||||
count={store.me.notificationCount}
|
||||
/>
|
||||
</View>
|
||||
<View style={styles.section}>
|
||||
|
|
|
@ -237,6 +237,7 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
|
|||
/>
|
||||
) : uiState.profile.hasLoaded ? (
|
||||
<ViewSelector
|
||||
swipeEnabled
|
||||
sections={uiState.selectorItems}
|
||||
items={items}
|
||||
renderHeader={renderHeader}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue