From 3f9b15fed1fb901fea1cc0a26460b6434ae3eec6 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Wed, 26 Jun 2024 12:52:56 -0400 Subject: [PATCH] fix: use theme to get background color --- dev-client/src/screens/LoginScreen.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-client/src/screens/LoginScreen.tsx b/dev-client/src/screens/LoginScreen.tsx index 24438126bd..f5e5c15033 100644 --- a/dev-client/src/screens/LoginScreen.tsx +++ b/dev-client/src/screens/LoginScreen.tsx @@ -43,6 +43,7 @@ import { } from 'terraso-mobile-client/components/NativeBaseAdapters'; import {useNavigation} from 'terraso-mobile-client/navigation/hooks/useNavigation'; import {useDispatch, useSelector} from 'terraso-mobile-client/store'; +import {theme} from 'terraso-mobile-client/theme'; const showAppleAuth = Platform.OS === 'ios'; @@ -141,7 +142,7 @@ export const LoginScreen = () => { const styles = StyleSheet.create({ loginButton: { - backgroundColor: 'white', + backgroundColor: theme.colors.background.default, justifyContent: showAppleAuth ? 'center' : 'flex-start', }, loginButtonText: {