From 77e7070476255d5108a4ac72e8f00cd89bbd8de2 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 10 May 2021 13:24:24 -0400 Subject: fixed linter issue --- src/screens/onboarding/ProfileInfoOnboarding.tsx | 1 - src/screens/onboarding/legacy/OnboardingStepOne.tsx | 2 +- src/screens/onboarding/legacy/OnboardingStepTwo.tsx | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/screens/onboarding/ProfileInfoOnboarding.tsx b/src/screens/onboarding/ProfileInfoOnboarding.tsx index a481b0c0..cdfbea8f 100644 --- a/src/screens/onboarding/ProfileInfoOnboarding.tsx +++ b/src/screens/onboarding/ProfileInfoOnboarding.tsx @@ -16,7 +16,6 @@ import Animated from 'react-native-reanimated'; import { Background, BirthDatePicker, - RegistrationWizard, TaggDropDown, TaggInput, UniversitySelection, diff --git a/src/screens/onboarding/legacy/OnboardingStepOne.tsx b/src/screens/onboarding/legacy/OnboardingStepOne.tsx index b25d41fd..ac0b646d 100644 --- a/src/screens/onboarding/legacy/OnboardingStepOne.tsx +++ b/src/screens/onboarding/legacy/OnboardingStepOne.tsx @@ -270,4 +270,4 @@ const styles = StyleSheet.create({ }, }); -export default OnboardingStepOne; \ No newline at end of file +export default OnboardingStepOne; diff --git a/src/screens/onboarding/legacy/OnboardingStepTwo.tsx b/src/screens/onboarding/legacy/OnboardingStepTwo.tsx index 40130263..645fddef 100644 --- a/src/screens/onboarding/legacy/OnboardingStepTwo.tsx +++ b/src/screens/onboarding/legacy/OnboardingStepTwo.tsx @@ -378,4 +378,4 @@ const styles = StyleSheet.create({ }, }); -export default OnboardingStepTwo; \ No newline at end of file +export default OnboardingStepTwo; -- cgit v1.2.3-70-g09d2 From 6eae7a3769aad1424a69d1ba676268f1acccad04 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Mon, 10 May 2021 13:25:57 -0400 Subject: fixed various font issues --- src/components/profile/ProfileBody.tsx | 6 +++--- src/components/search/SearchBar.tsx | 2 +- src/components/suggestedPeople/MutualFriends.tsx | 3 ++- src/routes/main/MainStackScreen.tsx | 8 ++------ src/screens/chat/ChatScreen.tsx | 2 +- 5 files changed, 9 insertions(+), 12 deletions(-) (limited to 'src') diff --git a/src/components/profile/ProfileBody.tsx b/src/components/profile/ProfileBody.tsx index 400a31e7..3d654724 100644 --- a/src/components/profile/ProfileBody.tsx +++ b/src/components/profile/ProfileBody.tsx @@ -185,15 +185,15 @@ const styles = StyleSheet.create({ }, username: { fontWeight: '600', - fontSize: normalize(12), + fontSize: normalize(13.5), marginBottom: '1%', }, biography: { - fontSize: normalize(12), + fontSize: normalize(13.5), marginBottom: '1.5%', }, website: { - fontSize: normalize(12), + fontSize: normalize(13.5), color: TAGG_DARK_BLUE, marginBottom: '1%', }, diff --git a/src/components/search/SearchBar.tsx b/src/components/search/SearchBar.tsx index 8a53178b..25ea3b59 100644 --- a/src/components/search/SearchBar.tsx +++ b/src/components/search/SearchBar.tsx @@ -165,7 +165,7 @@ const styles = StyleSheet.create({ }, input: { flex: 1, - fontSize: normalize(19), + fontSize: normalize(15), color: '#000', letterSpacing: 0.5, }, diff --git a/src/components/suggestedPeople/MutualFriends.tsx b/src/components/suggestedPeople/MutualFriends.tsx index 3e2dc851..f72104d4 100644 --- a/src/components/suggestedPeople/MutualFriends.tsx +++ b/src/components/suggestedPeople/MutualFriends.tsx @@ -1,9 +1,10 @@ import React, {useState} from 'react'; import {SafeAreaView, StyleSheet, Text, View} from 'react-native'; +import {normalize} from 'react-native-elements'; import {ScrollView, TouchableOpacity} from 'react-native-gesture-handler'; import {BottomDrawer, TabsGradient} from '../../components'; import {ProfilePreviewType, ScreenType} from '../../types'; -import {isIPhoneX, normalize, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; +import {isIPhoneX, SCREEN_HEIGHT, SCREEN_WIDTH} from '../../utils'; import {ProfilePreview} from '../profile'; interface MutualFriendsProps { diff --git a/src/routes/main/MainStackScreen.tsx b/src/routes/main/MainStackScreen.tsx index 1105b6f9..f5100e58 100644 --- a/src/routes/main/MainStackScreen.tsx +++ b/src/routes/main/MainStackScreen.tsx @@ -2,6 +2,7 @@ import {RouteProp} from '@react-navigation/native'; import {StackNavigationOptions} from '@react-navigation/stack'; import React from 'react'; import {StyleSheet, Text} from 'react-native'; +import {normalize} from 'react-native-elements'; import BackIcon from '../../assets/icons/back-arrow.svg'; import { AccountType, @@ -33,12 +34,7 @@ import { } from '../../screens'; import MutualBadgeHolders from '../../screens/suggestedPeople/MutualBadgeHolders'; import {ScreenType} from '../../types'; -import { - AvatarHeaderHeight, - ChatHeaderHeight, - normalize, - SCREEN_WIDTH, -} from '../../utils'; +import {AvatarHeaderHeight, ChatHeaderHeight, SCREEN_WIDTH} from '../../utils'; import {MainStack, MainStackParams} from './MainStackNavigator'; /** diff --git a/src/screens/chat/ChatScreen.tsx b/src/screens/chat/ChatScreen.tsx index ee0686d1..17618867 100644 --- a/src/screens/chat/ChatScreen.tsx +++ b/src/screens/chat/ChatScreen.tsx @@ -109,7 +109,7 @@ const ChatScreen: React.FC = ({navigation}) => { markdown: { text: { fontSize: 16, - } + }, }, }, status: { -- cgit v1.2.3-70-g09d2