aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-21 15:00:39 -0500
committerIvan Chen <ivan@tagg.id>2021-01-21 15:00:39 -0500
commit704c6c6bada682ec7e9008a775f4719fd1d0bd00 (patch)
tree0cdd4fb0720abc2e54c2a0470b3a207090d6d859 /src/screens
parent30a7a34f8c5eb379de4e5ebe38cfeeb259f3f1e3 (diff)
fixed isIPhoneX and adjusted spacing
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/search/SearchScreen.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/screens/search/SearchScreen.tsx b/src/screens/search/SearchScreen.tsx
index 9f98b4d7..5072e13a 100644
--- a/src/screens/search/SearchScreen.tsx
+++ b/src/screens/search/SearchScreen.tsx
@@ -2,6 +2,7 @@ import AsyncStorage from '@react-native-community/async-storage';
import {useFocusEffect} from '@react-navigation/native';
import React, {useCallback, useEffect, useState} from 'react';
import {
+ Dimensions,
Keyboard,
RefreshControl,
ScrollView,
@@ -24,7 +25,12 @@ import {SEARCH_ENDPOINT, TAGG_TEXT_LIGHT_BLUE} from '../../constants';
import {loadRecentlySearched, resetScreenType} from '../../store/actions';
import {RootState} from '../../store/rootReducer';
import {ProfilePreviewType, ScreenType, UserType} from '../../types';
-import {SCREEN_HEIGHT, SCREEN_WIDTH, StatusBarHeight} from '../../utils';
+import {
+ isIPhoneX,
+ SCREEN_HEIGHT,
+ SCREEN_WIDTH,
+ StatusBarHeight,
+} from '../../utils';
const NO_USER: UserType = {
userId: '',
username: '',