Commit 98f3aef8 authored by Shahzad Bhatti's avatar Shahzad Bhatti

minor changes

parent 86e31647
......@@ -57,21 +57,18 @@ const Cart = () => {
const styles = StyleSheet.create({
cartContiner: {
// flex: 1,
flex: 1,
},
itemContainer: {
// flex: 0.5,
padding: 10,
// flexDirection: 'row',
// justifyContent: 'flex-start',
flexDirection: 'row',
justifyContent: 'flex-start',
},
imageContainer: {
flex: 1,
backgroundColor: 'blue',
},
detailContainer: {
flex: 3,
backgroundColor: '#ccc',
},
title: {
fontSize: 20,
......@@ -97,8 +94,8 @@ const styles = StyleSheet.create({
color: '#888',
},
image: {
width: 80,
height: 80,
width: 40,
height: 40,
},
price: {
fontSize: 14,
......
......@@ -8,7 +8,6 @@ import Field from '../ui/Field';
import {useNavigation} from '@react-navigation/native';
import {googleLogin, login} from '../../util/auth';
import {AuthContext} from '../../store/AuthContext';
// import Button from '../ui/Button';
import {GoogleSignin} from '@react-native-google-signin/google-signin';
const Login = () => {
......@@ -27,9 +26,8 @@ const Login = () => {
console.log(error);
Alert.alert('Signup Failed', 'Something went wrong!');
}
// navigation.navigate('MedicineList');
// Alert.alert('Logged In', `you are login as ${email} with ${password}`);
};
const googleLoginHandler = async () => {
try {
const res = await googleLogin();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment