From e0cd277dc5c5883458491730bf0e8742c958b422 Mon Sep 17 00:00:00 2001 From: Birloi Florian Date: Wed, 13 Dec 2023 07:45:27 +0200 Subject: [PATCH] chore: temorrarily disable social login --- mobile/src/screens/Landing.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/mobile/src/screens/Landing.tsx b/mobile/src/screens/Landing.tsx index 76e682fd..94836b39 100644 --- a/mobile/src/screens/Landing.tsx +++ b/mobile/src/screens/Landing.tsx @@ -1,21 +1,21 @@ import React, { useEffect } from 'react'; import PageLayout from '../layouts/PageLayout'; import { Text } from '@ui-kitten/components'; -import { Image, StyleSheet, Platform } from 'react-native'; +import { Image, StyleSheet } from 'react-native'; import { View } from 'react-native'; import LogInButton from '../components/LogInButton'; import { useAuth } from '../hooks/useAuth'; -import { CognitoHostedUIIdentityProvider } from '@aws-amplify/auth'; +// import { CognitoHostedUIIdentityProvider } from '@aws-amplify/auth'; import { useTranslation } from 'react-i18next'; -import GoogleButton from '../components/GoogleButton'; -import AppleButton from '../components/AppleButton'; -import FacebookButton from '../components/FacebookButton'; +// import GoogleButton from '../components/GoogleButton'; +// import AppleButton from '../components/AppleButton'; +// import FacebookButton from '../components/FacebookButton'; import ScrollViewLayout from '../layouts/ScrollViewLayout'; import { ALLOW_FONT_SCALLING } from '../common/constants/constants'; import SignUpButton from '../components/SignUpButton'; const Landing = ({ navigation }: any) => { - const { isUserPending, loginWithSocial } = useAuth(); + const { isUserPending } = useAuth(); const { t } = useTranslation('landing'); useEffect(() => { @@ -42,7 +42,7 @@ const Landing = ({ navigation }: any) => { )}`} - {Platform.OS === 'ios' && ( + {/* {Platform.OS === 'ios' && ( @@ -52,13 +52,13 @@ const Landing = ({ navigation }: any) => { /> + /> */} - + {/* v0.14.10 - + */}