Commit 7badcbe9 authored by Afid's avatar Afid

gak boleh bisa back

parent 48d80b23
......@@ -39,7 +39,14 @@ export default class Welcome extends React.Component {
</View>
<View style={styles.v_policy}>
<View style={{ flex: 1, height: 50, marginRight: 70, marginLeft: 70, justifyContent: 'center' }}>
<TouchableOpacity onPress={()=> this.props.navigation.navigate('Login')}>
<TouchableOpacity onPress={()=> this.props.navigation.reset({
index: 0,
routes: [
{
name: 'Login',
},
],
})}>
<View style={{ height: 50, borderRadius: 20, backgroundColor: '#CFB368' }}>
<Text style={{ fontFamily: 'Gotham-Black', color: 'black', fontSize: 20, textAlign: 'center', margin: 15 }}>NEXT</Text>
</View>
......
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