Add HorzSwipe gesture and integrate it into the ViewSelector
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user