Add HorzSwipe gesture and integrate it into the ViewSelector

This commit is contained in:
Paul Frazee
2022-12-07 15:51:06 -06:00
parent 26f06d768c
commit 71b7158ff9
6 changed files with 191 additions and 109 deletions
-1
View File
@@ -140,7 +140,6 @@ export const Menu = ({navIdx, visible}: ScreenParams) => {
}
label="Settings"
url="/settings"
count={store.me.notificationCount}
/>
</View>
<View style={styles.section}>
+1
View File
@@ -237,6 +237,7 @@ export const Profile = observer(({navIdx, visible, params}: ScreenParams) => {
/>
) : uiState.profile.hasLoaded ? (
<ViewSelector
swipeEnabled
sections={uiState.selectorItems}
items={items}
renderHeader={renderHeader}