Commit a31b85b6 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

revisi update version 2

parent 8c26eec1
...@@ -38,8 +38,8 @@ class Home extends React.Component { ...@@ -38,8 +38,8 @@ class Home extends React.Component {
} }
componentDidMount() { componentDidMount() {
const { navigation } = this.props // const { navigation } = this.props
CheckVersion(navigation) // CheckVersion(navigation)
const screenWidth = Math.round(Dimensions.get('window').width); const screenWidth = Math.round(Dimensions.get('window').width);
this.setState({ this.setState({
...@@ -72,7 +72,7 @@ class Home extends React.Component { ...@@ -72,7 +72,7 @@ class Home extends React.Component {
}) })
} }
this._renderCarousell() this._renderCarousell()
CheckVersion(navigation) // CheckVersion(navigation)
}); });
} }
......
import * as React from 'react'; import * as React from 'react';
import { Button, View, Text, TextInput, StyleSheet, Alert, Platform, Image, TouchableOpacity, StatusBar, ImageBackground, ScrollView } from 'react-native'; import { Button, View, Text, TextInput, StyleSheet, Alert, Platform, Image, TouchableOpacity, StatusBar, ImageBackground, ScrollView } from 'react-native';
import Spinner from 'react-native-loading-spinner-overlay'; import Spinner from 'react-native-loading-spinner-overlay';
import CheckVersion from '../function/CheckVersion';
export default class WelcomeLog extends React.Component { export default class WelcomeLog extends React.Component {
constructor(props) { constructor(props) {
...@@ -11,7 +12,8 @@ export default class WelcomeLog extends React.Component { ...@@ -11,7 +12,8 @@ export default class WelcomeLog extends React.Component {
} }
componentDidMount() { componentDidMount() {
// console.log(this.props.language) const { navigation } = this.props
CheckVersion(navigation)
} }
......
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