aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-09 15:52:46 -0400
committerIvan Chen <ivan@tagg.id>2021-07-09 15:56:47 -0400
commitabb032a2c4b6907575531f3cd94728a0cc77bc1d (patch)
treee161d08d6268f93c9613ef8caf529144a4126db2 /src
parent8272e2d75bd1bdc9b1d28960d2e896d20ae73a21 (diff)
Fix choosing category header issue
Diffstat (limited to 'src')
-rw-r--r--src/screens/profile/ChoosingCategoryScreen.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screens/profile/ChoosingCategoryScreen.tsx b/src/screens/profile/ChoosingCategoryScreen.tsx
index cdc941db..720412a4 100644
--- a/src/screens/profile/ChoosingCategoryScreen.tsx
+++ b/src/screens/profile/ChoosingCategoryScreen.tsx
@@ -21,6 +21,7 @@ import {updateMomentCategories} from '../../store/actions';
import {RootState} from '../../store/rootReducer';
import {
getMomentCategoryIconInfo,
+ HeaderHeight,
normalize,
SCREEN_HEIGHT,
SCREEN_WIDTH,
@@ -90,7 +91,7 @@ const ChoosingCategoryScreen: React.FC<ChoosingCategoryScreenProps> = ({
return (
<SearchBackground>
- <View style={{marginTop: StatusBarHeight + insetTop}}>
+ <View style={{marginTop: StatusBarHeight + HeaderHeight}}>
<ScrollView
style={{height: SCREEN_HEIGHT * 0.9}}
contentContainerStyle={{paddingBottom: tabBarHeight}}>