aboutsummaryrefslogtreecommitdiff
path: root/src/screens
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-05-06 14:01:43 -0400
committerIvan Chen <ivan@tagg.id>2021-05-06 14:01:43 -0400
commit4d1229af47aa521ab9115b94669a8014f46d29fe (patch)
treed377809704b15cc4a02dec43b8d66f383f48dcb5 /src/screens
parentc9d32e68fbb9d1bc175722bfda49454a6f627eae (diff)
replaced to use correct normalize function
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/chat/ChatSearchBar.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/chat/ChatSearchBar.tsx b/src/screens/chat/ChatSearchBar.tsx
index 3531111b..91018d4c 100644
--- a/src/screens/chat/ChatSearchBar.tsx
+++ b/src/screens/chat/ChatSearchBar.tsx
@@ -10,8 +10,8 @@ import {
TouchableOpacity,
View,
} from 'react-native';
-import {normalize} from 'react-native-elements';
import Animated from 'react-native-reanimated';
+import {normalize} from '../../utils';
interface SearchBarProps extends TextInputProps {
onCancel: () => void;
@@ -76,9 +76,9 @@ const styles = StyleSheet.create({
},
input: {
flex: 1,
- fontSize: 16,
+ fontSize: normalize(16),
color: '#000',
- letterSpacing: normalize(0.5),
+ letterSpacing: 0.5,
},
cancelButton: {
justifyContent: 'center',