From 799cf5a0a10d40fab26be1a228bff42a352faf8c Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 21 Oct 2025 14:59:50 -0500 Subject: [PATCH] Revert "delay toast after posting (#9208)" This reverts commit 6414bda2528a441dbf43f40e8206a4efc364b546. --- src/view/com/composer/Composer.tsx | 52 ++++++++++++++---------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/src/view/com/composer/Composer.tsx b/src/view/com/composer/Composer.tsx index 7746d93c30..305790cb18 100644 --- a/src/view/com/composer/Composer.tsx +++ b/src/view/com/composer/Composer.tsx @@ -564,33 +564,31 @@ export const ComposePost = ({ onPostSuccess?.(postSuccessData) } onClose() - setTimeout(() => { - Toast.show( - - - - {thread.posts.length > 1 - ? _(msg`Your posts were sent`) - : replyTo - ? _(msg`Your reply was sent`) - : _(msg`Your post was sent`)} - - {postUri && ( - { - const {host: name, rkey} = new AtUri(postUri) - navigation.navigate('PostThread', {name, rkey}) - }}> - - View - - - )} - , - {type: 'success'}, - ) - }, 500) + Toast.show( + + + + {thread.posts.length > 1 + ? _(msg`Your posts were sent`) + : replyTo + ? _(msg`Your reply was sent`) + : _(msg`Your post was sent`)} + + {postUri && ( + { + const {host: name, rkey} = new AtUri(postUri) + navigation.navigate('PostThread', {name, rkey}) + }}> + + View + + + )} + , + {type: 'success'}, + ) }, [ _, agent,