diff options
author | Ivan Chen <ivan@tagg.id> | 2021-06-30 14:27:25 -0400 |
---|---|---|
committer | Ivan Chen <ivan@tagg.id> | 2021-06-30 14:27:25 -0400 |
commit | 3b7297189633cda8b886fa06f4b9d4787b6aa7c7 (patch) | |
tree | 14e88a1559480f4546a26216e2e35b94567bd674 /src/routes/main/MainStackScreen.tsx | |
parent | 2f3244dfa11cc23b804930ad448222bbff4f022a (diff) |
Clean up code, Remove tab bar logic to use modal style instead
Diffstat (limited to 'src/routes/main/MainStackScreen.tsx')
-rw-r--r-- | src/routes/main/MainStackScreen.tsx | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index f6adeab1..65a695f5 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -332,6 +332,7 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => { name="ZoomInCropper" component={ZoomInCropper} options={{ + ...modalStyle, gestureEnabled: false, }} /> @@ -339,6 +340,7 @@ const MainStackScreen: React.FC<MainStackProps> = ({route}) => { name="CameraScreen" component={CameraScreen} options={{ + ...modalStyle, gestureEnabled: false, }} /> @@ -407,18 +409,6 @@ const styles = StyleSheet.create({ letterSpacing: normalize(1.3), fontWeight: '700', }, - whiteHeaderTitle: { - fontSize: normalize(16), - letterSpacing: normalize(1.3), - fontWeight: '700', - color: 'white', - }, - blackHeaderTitle: { - fontSize: normalize(16), - letterSpacing: normalize(1.3), - fontWeight: '700', - color: 'black', - }, }); export default MainStackScreen; |