Commit 148c5926 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo
parents ecba52db 75aab192
...@@ -239,19 +239,7 @@ class Auth extends React.Component { ...@@ -239,19 +239,7 @@ class Auth extends React.Component {
}, title: 'PROFILE' }, title: 'PROFILE'
}} /> }} />
<Stack.Screen name="UpdateVersion" component={UpdateVersion} <Stack.Screen name="UpdateVersion" component={UpdateVersion}
options={{ options={{ headerShown: false }}
headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' },
headerTitleAlign: 'center',
headerTintColor: '#fff',
headerTitleStyle: {
alignSelf: 'center',
fontFamily: 'Gotham-Black',
fontSize: 20,
color: 'white',
textAlign: 'center'
}, title: 'UPDATE VERSION'
}}
/> />
<Stack.Screen name="Change Profil" component={ChangeProfile} options={{ <Stack.Screen name="Change Profil" component={ChangeProfile} options={{
headerStyle: { backgroundColor: '#CFB368' }, headerStyle: { backgroundColor: '#CFB368' },
...@@ -304,19 +292,7 @@ class Auth extends React.Component { ...@@ -304,19 +292,7 @@ class Auth extends React.Component {
}} /> }} />
<Stack.Screen name="Home" component={Home} options={{ headerShown: false }} /> <Stack.Screen name="Home" component={Home} options={{ headerShown: false }} />
<Stack.Screen name="UpdateVersion" component={UpdateVersion} <Stack.Screen name="UpdateVersion" component={UpdateVersion}
options={{ options={{ headerShown: false }}
headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' },
headerTitleAlign: 'center',
headerTintColor: '#fff',
headerTitleStyle: {
alignSelf: 'center',
fontFamily: 'Gotham-Black',
fontSize: 20,
color: 'white',
textAlign: 'center'
}, title: 'UPDATE VERSION'
}}
/> />
</> </>
) : ( ) : (
...@@ -569,19 +545,7 @@ class Auth extends React.Component { ...@@ -569,19 +545,7 @@ class Auth extends React.Component {
/> />
<Stack.Screen name="UpdateVersion" component={UpdateVersion} <Stack.Screen name="UpdateVersion" component={UpdateVersion}
options={{ options={{ headerShown: false }}
headerStyle: { backgroundColor: '#CFB368' },
headerTitleContainerStyle: { alignContent: 'center' },
headerTitleAlign: 'center',
headerTintColor: '#fff',
headerTitleStyle: {
alignSelf: 'center',
fontFamily: 'Gotham-Black',
fontSize: 20,
color: 'white',
textAlign: 'center'
}, title: 'UPDATE VERSION'
}}
/> />
<Stack.Screen name="UseBalance" component={UseBalance} <Stack.Screen name="UseBalance" component={UseBalance}
options={{ options={{
......
...@@ -20,13 +20,10 @@ export default class UpdateVersion extends React.Component { ...@@ -20,13 +20,10 @@ export default class UpdateVersion extends React.Component {
render() { render() {
return ( return (
<View style={styles.container}> <View style={{ justifyContent: 'center', alignItems: 'center', flex: 1, backgroundColor:'white' }}>
<ScrollView>
<View style={styles.content}> <Text>Mohon update aplikasi terlebih dahulu</Text>
<View>
</View>
</View>
</ScrollView>
</View> </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