TimelinePanel: allow the toot composer collpased
This commit is contained in:
parent
a1e28fe647
commit
b880d0eaab
1 changed files with 1 additions and 5 deletions
|
@ -172,6 +172,7 @@ const TimelinePanel: Component<{
|
||||||
client={props.client}
|
client={props.client}
|
||||||
expanded={item.id === expandedThreadId() ? 1 : 0}
|
expanded={item.id === expandedThreadId() ? 1 : 0}
|
||||||
onExpandChange={(x) => {
|
onExpandChange={(x) => {
|
||||||
|
setTyping(false)
|
||||||
if (item.id !== expandedThreadId()) {
|
if (item.id !== expandedThreadId()) {
|
||||||
setExpandedThreadId((x) => (x ? undefined : item.id));
|
setExpandedThreadId((x) => (x ? undefined : item.id));
|
||||||
} else if (x === 2) {
|
} else if (x === 2) {
|
||||||
|
@ -423,11 +424,6 @@ const Home: ParentComponent = (props) => {
|
||||||
</Toolbar>
|
</Toolbar>
|
||||||
</AppBar>
|
</AppBar>
|
||||||
}
|
}
|
||||||
fab={
|
|
||||||
<Fab color="secondary">
|
|
||||||
<CreateTootIcon />
|
|
||||||
</Fab>
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
<TimeSourceProvider value={now}>
|
<TimeSourceProvider value={now}>
|
||||||
<Show when={!!client()}>
|
<Show when={!!client()}>
|
||||||
|
|
Loading…
Reference in a new issue