mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-04 07:05:20 +03:00
replaced actionsheet in sideMenuView
This commit is contained in:
parent
b85920dbd6
commit
83972bb564
@ -10,7 +10,6 @@ import {
|
||||
} from 'react-native';
|
||||
import { injectIntl, useIntl } from 'react-intl';
|
||||
import LinearGradient from 'react-native-linear-gradient';
|
||||
import ActionSheet from 'react-native-actionsheet';
|
||||
import VersionNumber from 'react-native-version-number';
|
||||
import { isEmpty } from 'lodash';
|
||||
import { getStorageType } from '../../../realm/realm';
|
||||
@ -28,6 +27,7 @@ import { getVotingPower } from '../../../utils/manaBar';
|
||||
|
||||
// Styles
|
||||
import styles from './sideMenuStyles';
|
||||
import { OptionsModal } from '../../atoms';
|
||||
|
||||
// Images
|
||||
const SIDE_MENU_BACKGROUND = require('../../../assets/side_menu_background.png');
|
||||
@ -165,7 +165,7 @@ const SideMenuView = ({
|
||||
<FlatList data={menuItems} keyExtractor={(item) => item.id} renderItem={_renderItem} />
|
||||
</View>
|
||||
<Text style={styles.versionText}>{`v${appVersion}, ${buildVersion}${storageT}`}</Text>
|
||||
<ActionSheet
|
||||
<OptionsModal
|
||||
ref={ActionSheetRef}
|
||||
options={[
|
||||
intl.formatMessage({ id: 'side_menu.logout' }),
|
||||
|
Loading…
Reference in New Issue
Block a user