fix: Minor apl bugs
This commit is contained in:
parent
40542d0364
commit
d7cdd5b35d
22 changed files with 170 additions and 135 deletions
|
|
@ -472,7 +472,8 @@ class _ChatState extends State<Chat> {
|
|||
onPressed: () => setState(() => selectedEvents.clear()),
|
||||
)
|
||||
: null,
|
||||
titleSpacing: 0,
|
||||
titleSpacing:
|
||||
AdaptivePageLayout.of(context).columnMode(context) ? null : 0,
|
||||
title: selectedEvents.isEmpty
|
||||
? StreamBuilder<Object>(
|
||||
stream: room.onUpdate.stream,
|
||||
|
|
@ -490,7 +491,12 @@ class _ChatState extends State<Chat> {
|
|||
),
|
||||
)
|
||||
: () => AdaptivePageLayout.of(context)
|
||||
.pushNamed('/rooms/${room.id}/details'),
|
||||
.viewDataStack
|
||||
.length <
|
||||
3
|
||||
? AdaptivePageLayout.of(context)
|
||||
.pushNamed('/rooms/${room.id}/details')
|
||||
: null,
|
||||
title: Text(
|
||||
room.getLocalizedDisplayname(
|
||||
MatrixLocals(L10n.of(context))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue