File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
components/common/animate Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,13 @@ import {
77 TouchableOpacity ,
88} from 'react-native' ;
99
10- import { isIphoneX } from 'react-native-iphone-x-helper ' ;
10+ import { STATUSBAR_HEIGHT } from '@/utils/Utils ' ;
1111
1212const ios = Platform . OS === 'ios' ;
13- const isIphoneX_ = isIphoneX ( ) ;
14- const iphoneXTopInset = 24 ;
1513const initToolbarHeight = ios ? 46 : 56 ;
1614
1715const paddingTop = ios ? 18 : 0 ;
18- const topInset = isIphoneX_ ? iphoneXTopInset : 0 ;
16+ const topInset = STATUSBAR_HEIGHT ;
1917
2018const toolbarHeight = initToolbarHeight + topInset + paddingTop ;
2119
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ function CategoryDetailPage(props: IProps) {
9292 title = { props . route . params . item . name }
9393 renderLeft = { backIcon }
9494 headerMaxHeight = { 200 }
95+ noBorder = { true }
9596 imageSource = { {
9697 uri : props . route . params . item . headerImage ,
9798 } }
You can’t perform that action at this time.
0 commit comments