From 3dc2196f1a841421ad274309bcbe05bc12f2b9cf Mon Sep 17 00:00:00 2001 From: thislight Date: Sat, 28 Sep 2024 22:46:48 +0800 Subject: [PATCH] TimelinePanel: allow the toot composer collpased --- src/timelines/Home.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/timelines/Home.tsx b/src/timelines/Home.tsx index 3ce4ce1..5c74795 100644 --- a/src/timelines/Home.tsx +++ b/src/timelines/Home.tsx @@ -172,6 +172,7 @@ const TimelinePanel: Component<{ client={props.client} expanded={item.id === expandedThreadId() ? 1 : 0} onExpandChange={(x) => { + setTyping(false) if (item.id !== expandedThreadId()) { setExpandedThreadId((x) => (x ? undefined : item.id)); } else if (x === 2) { @@ -423,11 +424,6 @@ const Home: ParentComponent = (props) => { } - fab={ - - - - } >