fixed quick reply expand button

This commit is contained in:
Nouman Tahir 2022-11-07 13:39:00 +05:00
parent ae2c067e69
commit a2b7d87d91

View File

@ -1,7 +1,6 @@
import React, { import React, {
useEffect, useEffect,
useState, useState,
useCallback,
useRef, useRef,
useImperativeHandle, useImperativeHandle,
forwardRef, forwardRef,
@ -14,7 +13,7 @@ import { get } from 'lodash';
import { postBodySummary } from '@ecency/render-helper'; import { postBodySummary } from '@ecency/render-helper';
import styles from './quickReplyModalStyles'; import styles from './quickReplyModalStyles';
import { IconButton, MainButton, TextButton, TextInput, UserAvatar } from '..'; import { IconButton, MainButton, TextButton, TextInput, UserAvatar } from '..';
import { delay, generateReplyPermlink, generateRndStr } from '../../utils/editor'; import { delay, generateReplyPermlink } from '../../utils/editor';
import { postComment } from '../../providers/hive/dhive'; import { postComment } from '../../providers/hive/dhive';
import { toastNotification } from '../../redux/actions/uiAction'; import { toastNotification } from '../../redux/actions/uiAction';
import { import {
@ -213,7 +212,7 @@ export const QuickReplyModalContent = forwardRef(
onClose(); onClose();
await delay(50); await delay(50);
RootNavigation.navigate({ RootNavigation.navigate({
routeName: ROUTES.SCREENS.EDITOR, name: ROUTES.SCREENS.EDITOR,
key: 'editor_replay', key: 'editor_replay',
params: { params: {
isReply: true, isReply: true,