diff options
author | Ivan Chen <ivan@thetaggid.com> | 2021-01-22 19:13:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 19:13:53 -0500 |
commit | 2262d4937d0248e4742f149c7aa4ec79f76c8478 (patch) | |
tree | 308517c416605f13163bf6847e5c322ee23ab2e8 /src/screens | |
parent | 9921e80e60cb24d0fc7b99123a8b146c6e7d14ff (diff) | |
parent | e5915b02008dfcebe08de063f0440974c8415d4b (diff) |
Merge pull request #196 from IvanIFChen/tma552-adjust-styles-and-sizes
[TMA-552] Adjust Styles and Sizes
Diffstat (limited to 'src/screens')
-rw-r--r-- | src/screens/profile/EditProfile.tsx | 2 | ||||
-rw-r--r-- | src/screens/profile/MomentCommentsScreen.tsx | 2 | ||||
-rw-r--r-- | src/screens/search/SearchScreen.tsx | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/src/screens/profile/EditProfile.tsx b/src/screens/profile/EditProfile.tsx index 36de2bfa..7d3ca581 100644 --- a/src/screens/profile/EditProfile.tsx +++ b/src/screens/profile/EditProfile.tsx @@ -313,7 +313,7 @@ const EditProfile: React.FC<EditProfileProps> = ({route, navigation}) => { if (form.bio) { if (form.isValidBio) { - request.append('biography', form.bio); + request.append('biography', form.bio.trim()); } else { setForm({...form, attemptedSubmit: false}); setTimeout(() => setForm({...form, attemptedSubmit: true})); diff --git a/src/screens/profile/MomentCommentsScreen.tsx b/src/screens/profile/MomentCommentsScreen.tsx index 6434477e..2bceafc9 100644 --- a/src/screens/profile/MomentCommentsScreen.tsx +++ b/src/screens/profile/MomentCommentsScreen.tsx @@ -15,7 +15,7 @@ import {CommentTile, TabsGradient} from '../../components'; import {AddComment} from '../../components/'; import {ProfileStackParams} from '../../routes/main'; import {CommentType} from '../../types'; -import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils/screenDimensions'; +import {SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; /** * Comments Screen for an image uploaded diff --git a/src/screens/search/SearchScreen.tsx b/src/screens/search/SearchScreen.tsx index f231cb78..059bd968 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, |