diff options
| author | Ivan Chen <ivan@tagg.id> | 2021-05-07 18:48:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-07 18:48:51 -0400 |
| commit | fa51a3c6894028828679c551027ec232ed8203b1 (patch) | |
| tree | b55ece7257c868f3cb9eeae4a70fb7b220040fb5 /src/components/search | |
| parent | 893e7bf7a49eb612a975dddae4d792a035b9f420 (diff) | |
| parent | 82bfc01d95275ebe4a63695326b3b775807c2408 (diff) | |
Merge pull request #404 from IvanIFChen/hotfix-mentions-bugfixes
[HOTFIX] Mentions Bugfixes
Diffstat (limited to 'src/components/search')
| -rw-r--r-- | src/components/search/SearchBar.tsx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index ea36d58b..8a53178b 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -1,6 +1,7 @@ import React, {useEffect, useState} from 'react'; import { Keyboard, + LayoutChangeEvent, NativeSyntheticEvent, StyleSheet, Text, @@ -10,14 +11,12 @@ import { TouchableOpacity, View, ViewStyle, - LayoutChangeEvent, } from 'react-native'; -import {normalize} from 'react-native-elements'; import Animated, {useAnimatedStyle} from 'react-native-reanimated'; import Icon from 'react-native-vector-icons/Feather'; import {useSelector} from 'react-redux'; import {RootState} from '../../store/rootReducer'; -import {getSearchSuggestions} from '../../utils'; +import {getSearchSuggestions, normalize} from '../../utils'; const AnimatedIcon = Animated.createAnimatedComponent(Icon); @@ -166,9 +165,9 @@ const styles = StyleSheet.create({ }, input: { flex: 1, - fontSize: 16, + fontSize: normalize(19), color: '#000', - letterSpacing: normalize(0.5), + letterSpacing: 0.5, }, cancelButton: { height: '100%', |
