From 36662d58da331f575f5becb266568e5662e6e28d Mon Sep 17 00:00:00 2001 From: ammarahm-ed Date: Thu, 3 Aug 2023 17:07:10 +0500 Subject: [PATCH] mobile: fix editor when app enter foreground from share ext --- apps/mobile/app/screens/editor/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mobile/app/screens/editor/index.tsx b/apps/mobile/app/screens/editor/index.tsx index de627336b..a4d2547aa 100755 --- a/apps/mobile/app/screens/editor/index.tsx +++ b/apps/mobile/app/screens/editor/index.tsx @@ -127,8 +127,8 @@ const Editor = React.memo( const onError = useCallback(() => { renderKey.current = renderKey.current === `editor-0` ? `editor-1` : `editor-0`; - // editor.state.current.ready = false; - //editor.setLoading(true); + editor.state.current.ready = false; + editor.setLoading(true); }, [editor]); useEffect(() => {