Skip to content

Commit

Permalink
Change asset access due to breaking change in react-0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
simongong committed Nov 9, 2015
1 parent f787899 commit 3fdc6c5
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions App/Views/Shared/bottomMenuBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ let BottomMenuBar = React.createClass({
<TouchableHighlight style={menuStyles.dashboard} ref={Configs.routes.DASHBOARD} onPress={this._goFav}>
<View style={{flexDirection: 'row', alignItems: 'center', padding: 5}}>
<Image
source={require('image!ic_explore_white_24dp')}
source={require('../../images/ic_explore_white_24dp.png')}
style={{width: 24, height: 24, marginLeft: 6, marginRight: 6}} />
<Text style={styles.menuText}>
概览
Expand All @@ -65,7 +65,7 @@ let BottomMenuBar = React.createClass({
<TouchableHighlight style={menuStyles.sms} ref={Configs.routes.SMS} onPress={this._goSMS}>
<View style={{flexDirection: 'row', alignItems: 'center', padding: 5}}>
<Image
source={require('image!ic_explore_white_24dp')}
source={require('../../images/ic_explore_white_24dp.png')}
style={{width: 24, height: 24, marginLeft: 6, marginRight: 6}} />
<Text style={styles.menuText}>
短信
Expand All @@ -75,7 +75,7 @@ let BottomMenuBar = React.createClass({
<TouchableHighlight style={menuStyles.quota} ref={Configs.routes.QUOTA} onPress={this._goQuota}>
<View style={{flexDirection: 'row', alignItems: 'center', padding: 5}}>
<Image
source={require('image!ic_explore_white_24dp')}
source={require('../../images/ic_explore_white_24dp.png')}
style={{width: 24, height: 24, marginLeft: 6, marginRight: 6}} />
<Text style={styles.menuText}>
流量
Expand All @@ -85,7 +85,7 @@ let BottomMenuBar = React.createClass({
<TouchableHighlight style={menuStyles.eshop} ref={Configs.routes.ESHOP} onPress={this._goEShop}>
<View style={{flexDirection: 'row', alignItems: 'center', padding: 5}}>
<Image
source={require('image!ic_explore_white_24dp')}
source={require('../../images/ic_explore_white_24dp.png')}
style={{width: 24, height: 24, marginLeft: 6, marginRight: 6}} />
<Text style={styles.menuText}>
商城
Expand Down
4 changes: 2 additions & 2 deletions App/Views/Shared/navToolBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ let NavToolbar = React.createClass({
return (
<ToolbarAndroid
style={styles.toolbar}
logo={require('image!ic_launcher')}
logo={require('../../images/ic_launcher.png')}
navIcon={{uri: "ic_arrow_back_white_24dp", isStatic: true}}
onIconClicked={this.props.navigator.pop}
titleColor="#fff"
Expand All @@ -37,7 +37,7 @@ let NavToolbar = React.createClass({
return (
<ToolbarAndroid
style={styles.toolbar}
logo={require('image!ic_launcher')}
logo={require('../../images/ic_launcher.png')}
onIconClicked={this.props.navigator.pop}
titleColor="#fff"
title='CardManager' />
Expand Down
4 changes: 2 additions & 2 deletions App/Views/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ let Dashboard = React.createClass({
<ToolbarAndroid
title={Configs.literals.title}
titleColor="white"
navIcon={require('image!ic_drawer')}
logo={require('image!ic_launcher')}
navIcon={require('../images/ic_drawer.png')}
logo={require('../images/ic_launcher.png')}
style={styles.toolbar}
onIconClicked={() => this.drawer.openDrawer()}
onActionSelected={this.onActionSelected} />
Expand Down
4 changes: 2 additions & 2 deletions App/Views/drawerList.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ let DrawerList = React.createClass({
<TouchableElement onPress={this._gotoLogin}>
<View style={{flexDirection: 'row', alignItems: 'center', padding: 16}}>
<Image
source={require('image!ic_explore_white_24dp')}
source={require('../images/ic_explore_white_24dp.png')}
style={{width: 24, height: 24, marginLeft: 16, marginRight: 16}} />
<Text style={styles.menuText}>
登陆
Expand All @@ -55,7 +55,7 @@ let DrawerList = React.createClass({
<TouchableElement onPress={this._gotoAbout}>
<View style={{flexDirection: 'row', alignItems: 'center', padding: 16}}>
<Image
source={require('image!ic_explore_white_24dp')}
source={require('../images/ic_explore_white_24dp.png')}
style={{width: 24, height: 24, marginLeft: 16, marginRight: 16}} />
<Text style={styles.menuText}>
关于
Expand Down
Binary file added App/images/ic_action_back.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/images/ic_action_chat.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/images/ic_action_refresh.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/images/ic_arrow_back_white_24dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/images/ic_drawer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/images/ic_explore_white_24dp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added App/images/ic_launcher.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3fdc6c5

Please sign in to comment.