Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
styled loader
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeTobin committed Oct 3, 2015
1 parent 4288669 commit 4d2640f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
13 changes: 10 additions & 3 deletions KHE/dash.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class Dash extends Component {
<View style={styles.loading}>
<ActivityIndicatorIOS
size='large'/>
<Text>
<Text style={styles.loadingText}>
Loading Updates...
</Text>
</View>
Expand All @@ -125,7 +125,7 @@ class Dash extends Component {
<View style={styles.loading}>
<ActivityIndicatorIOS
size='large'/>
<Text>
<Text style={styles.loadingText}>
Loading Events...
</Text>
</View>
Expand Down Expand Up @@ -190,10 +190,17 @@ var styles = StyleSheet.create({
resizeMode: Image.resizeMode.contain,
position: 'relative',
},
loadingText: {
flex: 1,
fontSize: 14.5,
textAlign: 'center',
color: '#FFFFFF',
},
loading: {
flex: 1,
alignItems: 'center',
justifyContent: 'center'
justifyContent: 'center',
backgroundColor: '#231F20',
}
})

Expand Down
2 changes: 1 addition & 1 deletion KHE/index.ios.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions KHE/links.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ var React = require('react-native');
var Button = require('react-native-button');

var HOME_URL = "https://khe.io/info"
//var HOME_URL = "https://google.com"

var {
StyleSheet,
Expand Down

0 comments on commit 4d2640f

Please sign in to comment.