TimelinePanel: allow the toot composer collpased
All checks were successful
/ depoly (push) Successful in 1m4s

This commit is contained in:
thislight 2024-09-28 22:46:48 +08:00
parent d90876a84e
commit 3dc2196f1a
No known key found for this signature in database
GPG key ID: A50F9451AC56A63E

View file

@ -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) => {
</Toolbar>
</AppBar>
}
fab={
<Fab color="secondary">
<CreateTootIcon />
</Fab>
}
>
<TimeSourceProvider value={now}>
<Show when={!!client()}>