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/screens | |
| parent | 893e7bf7a49eb612a975dddae4d792a035b9f420 (diff) | |
| parent | 82bfc01d95275ebe4a63695326b3b775807c2408 (diff) | |
Merge pull request #404 from IvanIFChen/hotfix-mentions-bugfixes
[HOTFIX] Mentions Bugfixes
Diffstat (limited to 'src/screens')
| -rw-r--r-- | src/screens/chat/ChatSearchBar.tsx | 6 | ||||
| -rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 2 |
2 files changed, 4 insertions, 4 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', diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index 041f0da2..a41abba6 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -116,7 +116,7 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { placeholderTextColor="gray" value={caption} onChange={setCaption} - partTypes={mentionPartTypes} + partTypes={mentionPartTypes('blue')} /> </View> </KeyboardAvoidingView> |
