Skip to content

Commit

Permalink
fix: use theme to get background color
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Jun 26, 2024
1 parent 60bf94a commit 3f9b15f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-client/src/screens/LoginScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down Expand Up @@ -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: {
Expand Down

0 comments on commit 3f9b15f

Please sign in to comment.