This commit is contained in:
Mustafa Buyukcelebi 2019-01-18 12:01:05 +03:00
parent dcbcc6d04e
commit 33ad063f25
2 changed files with 6 additions and 0 deletions

View File

@ -83,4 +83,7 @@ export default EStyleSheet.create({
flexDirection: 'row',
marginLeft: 55,
},
versionText: {
textAlign: 'center',
},
});

View File

@ -13,6 +13,7 @@ import { UserAvatar } from '../../userAvatar';
// Constants
import { default as MENU } from '../../../constants/sideMenuItems';
import PackageJson from '../../../../package.json';
// Styles
import styles from './sideMenuStyles';
@ -85,6 +86,7 @@ class SideMenuView extends Component {
currentAccount, isLoggedIn, intl, handleLogout,
} = this.props;
const { menuItems, isAddAccountIconActive } = this.state;
const { version } = PackageJson;
return (
<View style={styles.container}>
@ -163,6 +165,7 @@ class SideMenuView extends Component {
)}
/>
</View>
<Text style={styles.versionText}>{`v ${version}`}</Text>
<ActionSheet
ref={o => (this.ActionSheet = o)}
options={[intl.formatMessage({ id: 'side_menu.logout' }), intl.formatMessage({ id: 'side_menu.cancel' })]}