Skip to content
This repository was archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
fix: Default to opening to index 0
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Sep 1, 2021
1 parent c2c0d7c commit 0bf4779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const HomeScreen: React.FC = () => {
const snapPoints = useMemo(() => ["22%", "65%"], []);

const handleClosePress = () => bottomSheetRef.current.close();
const handleOpenPress = () => bottomSheetRef.current.snapToIndex(1);
const handleOpenPress = () => bottomSheetRef.current.snapToIndex(0);

const { width } = Dimensions.get("window");

Expand Down

0 comments on commit 0bf4779

Please sign in to comment.