diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-11-29 17:35:57 -0800 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-11-29 17:35:57 -0800 |
commit | 4c7b9652dbe858d5357d4e983c110c84c9e5a46e (patch) | |
tree | cf012d95b87edaec87c492ab4a20d8fd64d9b1c5 /src/view/com/pager/TabBar.tsx | |
parent | dc53ef1ec17d4c89ace36ed64d1217caaa54cdb9 (diff) | |
parent | 3fbac466ac8554fcb690fccbe0053a5be07801d7 (diff) | |
download | voidsky-4c7b9652dbe858d5357d4e983c110c84c9e5a46e.tar.zst |
Merge branch '2011-link-in-feeds-tab-bar' of https://github.com/CooperEdmunds/social-app into CooperEdmunds-2011-link-in-feeds-tab-bar
Diffstat (limited to 'src/view/com/pager/TabBar.tsx')
-rw-r--r-- | src/view/com/pager/TabBar.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/com/pager/TabBar.tsx b/src/view/com/pager/TabBar.tsx index 0e08b22d8..c3a95c5c0 100644 --- a/src/view/com/pager/TabBar.tsx +++ b/src/view/com/pager/TabBar.tsx @@ -68,6 +68,7 @@ export function TabBar({ return ( <View testID={testID} style={[pal.view, styles.outer]}> <DraggableScrollView + testID={`${testID}-selector`} horizontal={true} showsHorizontalScrollIndicator={false} ref={scrollElRef} @@ -76,6 +77,7 @@ export function TabBar({ const selected = i === selectedPage return ( <PressableWithHover + testID={`${testID}-selector-${i}`} key={item} onLayout={e => onItemLayout(e, i)} style={[styles.item, selected && indicatorStyle]} |