mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-26 09:13:33 +03:00
Fixed #455
This commit is contained in:
parent
dcbcc6d04e
commit
33ad063f25
@ -83,4 +83,7 @@ export default EStyleSheet.create({
|
||||
flexDirection: 'row',
|
||||
marginLeft: 55,
|
||||
},
|
||||
versionText: {
|
||||
textAlign: 'center',
|
||||
},
|
||||
});
|
||||
|
@ -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' })]}
|
||||
|
Loading…
Reference in New Issue
Block a user