Fix: sammler chenges bugs

parent 12dd55fc
......@@ -30,6 +30,9 @@ export function AuthStack({ navigation }) {
/>
);
},
headerStyle: {
backgroundColor: 'white',
},
headerLeftContainerStyle: { paddingLeft: 10 },
headerRight: () => {
return (
......@@ -65,7 +68,7 @@ export function AuthStack({ navigation }) {
const stngobj = JSON.stringify(response.data)
console.log(stngobj + "logged out");
console.log("Successfully logged out");
// alert("Successfully Logged out")
alert("Successfully Logged out")
navigation.navigate("SignIn")
})
.catch(function (error) {
......@@ -93,7 +96,7 @@ export function AuthStack({ navigation }) {
const stngobj = JSON.stringify(response.data)
console.log(stngobj + "logged out");
console.log("Successfully logged out");
// alert("Successfully Logged out")
alert("Successfully Logged out")
navigation.navigate("SignIn")
})
.catch(function (error) {
......@@ -121,7 +124,7 @@ export function AuthStack({ navigation }) {
const stngobj = JSON.stringify(response.data)
console.log(stngobj + "logged out");
console.log("Successfully logged out");
// alert("Successfully Logged out")
alert("Successfully Logged out")
navigation.navigate("SignIn")
})
.catch(function (error) {
......@@ -149,7 +152,7 @@ export function AuthStack({ navigation }) {
const stngobj = JSON.stringify(response.data)
console.log(stngobj + "logged out");
console.log("Successfully logged out");
// alert("Successfully Logged out")
alert("Successfully Logged out")
navigation.navigate("SignIn")
})
.catch(function (error) {
......
......@@ -32,7 +32,7 @@ export function HomeScreen({ navigation }) {
style={styles.images}
>
<ImageSliderz
height={425}
height={450}
dataSource={[
{
url: require("../assets/d.jpg"),
......@@ -118,6 +118,7 @@ const styles = StyleSheet.create({
fontSize: 15,
alignSelf: "center",
marginTop: 5,
marginBottom:10
},
saveExam: {
width: "70%",
......
......@@ -181,7 +181,7 @@ const styles = StyleSheet.create({
backgroundColor: "white",
},
buttonSub: {
width: "80%",
width: "83%",
padding: 10,
marginTop: 30,
marginLeft: 30,
......@@ -247,7 +247,9 @@ const styles = StyleSheet.create({
flexDirection: "row",
// marginBottom: 10,
justifyContent: "center",
alignItems:"center",
borderRadius: 8,
height:35
},
errorMsg: {
color: "black",
......
......@@ -74,6 +74,7 @@ export function SignUp({ navigation }) {
.then(function (response){
console.log("abc" + response)
actions.resetForm();
alert("User successfully created")
// return response;
})
.catch(function(error){
......
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