diff options
Diffstat (limited to 'src/screens')
| -rw-r--r-- | src/screens/main/NotificationsScreen.tsx | 18 | ||||
| -rw-r--r-- | src/screens/onboarding/OnboardingStepTwo.tsx | 2 | ||||
| -rw-r--r-- | src/screens/profile/EditProfile.tsx | 2 | ||||
| -rw-r--r-- | src/screens/profile/SettingsCell.tsx | 2 |
4 files changed, 8 insertions, 16 deletions
diff --git a/src/screens/main/NotificationsScreen.tsx b/src/screens/main/NotificationsScreen.tsx index 68437f2b..4697704c 100644 --- a/src/screens/main/NotificationsScreen.tsx +++ b/src/screens/main/NotificationsScreen.tsx @@ -1,13 +1,7 @@ import AsyncStorage from '@react-native-community/async-storage'; import {useFocusEffect} from '@react-navigation/native'; import moment from 'moment'; -import React, { - Fragment, - ReactElement, - useCallback, - useEffect, - useState, -} from 'react'; +import React, {useCallback, useEffect, useState} from 'react'; import { Image, RefreshControl, @@ -20,11 +14,9 @@ import { import {TouchableOpacity} from 'react-native-gesture-handler'; import {SafeAreaView} from 'react-native-safe-area-context'; import {useDispatch, useSelector} from 'react-redux'; -import {TabsGradient, TaggPrompt} from '../../components'; -import { - InviteFriendsPrompt, - Notification, -} from '../../components/notifications'; +import {PrivateAccountsPrompt} from '../../components/notifications/NotificationPrompts'; +import {TabsGradient} from '../../components'; +import {Notification} from '../../components/notifications'; import { loadUserNotifications, updateNewNotificationReceived, @@ -270,7 +262,7 @@ const NotificationsScreen: React.FC = () => { renderItem={renderNotification} renderSectionHeader={renderSectionHeader} renderSectionFooter={renderSectionFooter} - ListHeaderComponent={<InviteFriendsPrompt />} + ListHeaderComponent={<PrivateAccountsPrompt />} refreshControl={ <RefreshControl refreshing={refreshing} onRefresh={onRefresh} /> } diff --git a/src/screens/onboarding/OnboardingStepTwo.tsx b/src/screens/onboarding/OnboardingStepTwo.tsx index a1100827..af7873e0 100644 --- a/src/screens/onboarding/OnboardingStepTwo.tsx +++ b/src/screens/onboarding/OnboardingStepTwo.tsx @@ -180,7 +180,7 @@ const OnboardingStepTwo: React.FC<OnboardingStepTwoProps> = ({ }); break; case 400: - Alert.alert(ERROR_REGISTRATION(Object.values(data))); + Alert.alert(ERROR_REGISTRATION(data.toLowerCase())); break; default: Alert.alert(ERROR_SOMETHING_WENT_WRONG_REFRESH); diff --git a/src/screens/profile/EditProfile.tsx b/src/screens/profile/EditProfile.tsx index de950923..8b658043 100644 --- a/src/screens/profile/EditProfile.tsx +++ b/src/screens/profile/EditProfile.tsx @@ -383,7 +383,7 @@ const EditProfile: React.FC<EditProfileProps> = ({route, navigation}) => { headerRight: () => ( <Button title={'Save'} - buttonStyle={{backgroundColor: 'transparent'}} + buttonStyle={{backgroundColor: 'transparent', marginRight: 15}} titleStyle={{fontWeight: 'bold'}} onPress={() => { setLoading(true); diff --git a/src/screens/profile/SettingsCell.tsx b/src/screens/profile/SettingsCell.tsx index 96eceecc..852a29dc 100644 --- a/src/screens/profile/SettingsCell.tsx +++ b/src/screens/profile/SettingsCell.tsx @@ -129,7 +129,7 @@ const styles = StyleSheet.create({ }, subItemStyles: {position: 'absolute', right: 0}, preImageStyles: {width: SCREEN_WIDTH * 0.05, height: SCREEN_WIDTH * 0.05}, - postImageStyles: {width: 15, height: 15}, + postImageStyles: {width: 10, height: 17}, titleContainerStyles: {marginLeft: '12%'}, titleStyles: { fontSize: normalize(15), |
