Skip to content

Commit

Permalink
ant design 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
robogrid committed Feb 11, 2019
1 parent da6fd2d commit 719c4cd
Show file tree
Hide file tree
Showing 30 changed files with 6,111 additions and 6,605 deletions.
100 changes: 50 additions & 50 deletions App.js 100644 → 100755
@@ -1,50 +1,50 @@
import React, { Component } from 'react'
import {
SafeAreaView,
Platform,
Dimensions,
View,
Text
} from 'react-native'
import Nexus from '@api/Nexus'
import Container from '~/containers/Container'

////////////////////////////////////////////////
// 디바이스 정보 로그.
////////////////////////////////////////////////

const {width, height} = Dimensions.get('window')
console.log('----------------------------')
console.log('Device OS: ', Platform.OS)
console.log('Device Width: ', width)
console.log('Device Height: ', height)
console.log('----------------------------')

export default class App extends Component {
constructor(props) {
super(props)
this.state = {
isReadyAPI: false
}
Nexus.checkMarket((isReady) => {
this.setState({
isReadyAPI: isReady
})
})
}
render() {
if (!this.state.isReadyAPI) {
return (
<View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
<Text>Loading...</Text>
</View>
)
}
return (
<SafeAreaView style={{flex: 1}}>
<Container />
</SafeAreaView>
)
}

}
import React, { Component } from 'react'
import {
SafeAreaView,
Platform,
Dimensions,
View,
Text
} from 'react-native'
import Nexus from '@api/Nexus'
import Container from '~/containers/Container'

////////////////////////////////////////////////
// 디바이스 정보 로그.
////////////////////////////////////////////////

const {width, height} = Dimensions.get('window')
console.log('----------------------------')
console.log('Device OS: ', Platform.OS)
console.log('Device Width: ', width)
console.log('Device Height: ', height)
console.log('----------------------------')

export default class App extends Component {
constructor(props) {
super(props)
this.state = {
isReadyAPI: false
}
Nexus.checkMarket((isReady) => {
this.setState({
isReadyAPI: isReady
})
})
}
render() {
if (!this.state.isReadyAPI) {
return (
<View style={{flex: 1, justifyContent: 'center', alignItems: 'center'}}>
<Text>Loading...</Text>
</View>
)
}
return (
<SafeAreaView style={{flex: 1}}>
<Container />
</SafeAreaView>
)
}

}
56 changes: 28 additions & 28 deletions app.json 100644 → 100755
@@ -1,29 +1,29 @@
{
"expo": {
"name": "mybit",
"slug": "mybit",
"privacy": "public",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
}
}
{
"expo": {
"name": "mybit",
"slug": "mybit",
"privacy": "public",
"sdkVersion": "32.0.0",
"platforms": [
"ios",
"android"
],
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/icon.png",
"splash": {
"image": "./assets/splash.png",
"resizeMode": "contain",
"backgroundColor": "#ffffff"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"assetBundlePatterns": [
"**/*"
],
"ios": {
"supportsTablet": true
}
}
}
Empty file modified assets/icon.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified assets/splash.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions babel.config.js 100644 → 100755
@@ -1,6 +1,6 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
};
};

0 comments on commit 719c4cd

Please sign in to comment.