mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-11-24 08:55:14 +03:00
Fixed #455
This commit is contained in:
parent
ec86d7576f
commit
7da8e4b01b
@ -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