mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-19 03:11:38 +03:00
replaced BeneficiarySelectionContent from postOptionsModal with the new BeneficiarySelectionContent module
This commit is contained in:
parent
9443000049
commit
e54746c577
@ -75,7 +75,7 @@ const BeneficiarySelectionContent = ({
|
||||
const readPowerDownBeneficiaries = () => {
|
||||
const tempBeneficiaries = [
|
||||
{ account: username, weight: 10000, autoPowerUp: false },
|
||||
...powerDownBeneficiaries,
|
||||
...powerDownBeneficiaries as Beneficiary[],
|
||||
];
|
||||
|
||||
if (isArray(tempBeneficiaries) && tempBeneficiaries.length > 0) {
|
||||
|
@ -2,12 +2,11 @@ import React, { forwardRef, useEffect, useImperativeHandle, useState } from 'rea
|
||||
import { useIntl } from 'react-intl';
|
||||
import { View } from 'react-native';
|
||||
|
||||
import { DateTimePicker, MainButton, Modal, SettingsItem } from '../../../components';
|
||||
import { BeneficiarySelectionContent, DateTimePicker, MainButton, Modal, SettingsItem } from '../../../components';
|
||||
import styles from './postOptionsModalStyles';
|
||||
import ThumbSelectionContent from './thumbSelectionContent';
|
||||
import {View as AnimatedView} from 'react-native-animatable';
|
||||
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view';
|
||||
import BeneficiarySelectionContent from './beneficiarySelectionContent';
|
||||
import EStyleSheet from 'react-native-extended-stylesheet';
|
||||
|
||||
const REWARD_TYPES = [
|
||||
|
Loading…
Reference in New Issue
Block a user