Skip to content

Commit

Permalink
fixed category sheet visiblity
Browse files Browse the repository at this point in the history
  • Loading branch information
tortuvshin committed Feb 21, 2024
1 parent 6e77144 commit 16a1772
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/interface/StoreCategoryPicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const StoreCategoryPicker = ({

return (
<View style={[wrapperStyle]}>
<TouchableOpacity onPress={() => actionSheetRef.current?.setModalVisible()}>
<TouchableOpacity onPress={() => actionSheetRef.current?.show()}>
<View style={[tailwind(`flex flex-row items-center justify-center rounded-lg px-4 py-2 bg-white bg-gray-50 border border-gray-100`), buttonStyle]}>
<FontAwesomeIcon icon={buttonIcon} size={buttonIconSize} style={[tailwind(`text-gray-900 ${!hideButtonTitle ? 'mr-2' : ''}`), buttonIconStyle]} />
{!hideButtonTitle && (
Expand All @@ -57,8 +57,7 @@ const StoreCategoryPicker = ({
bounceOnOpen={true}
nestedScrollEnabled={true}
onMomentumScrollEnd={() => actionSheetRef.current?.handleChildScrollEnd()}
ref={actionSheetRef}
>
ref={actionSheetRef}>
<View>
<View style={tailwind('px-5 py-2 flex flex-row items-center justify-between mb-2')}>
<View style={tailwind('flex flex-row items-center')}>
Expand Down

0 comments on commit 16a1772

Please sign in to comment.