fix: Routing broken in chat details
This commit is contained in:
parent
2e402acb7f
commit
db79a96d08
2 changed files with 8 additions and 5 deletions
|
|
@ -559,10 +559,12 @@ class _ChatState extends State<Chat> {
|
|||
'${room.directChatMatrixID} ',
|
||||
),
|
||||
)
|
||||
: () => AdaptivePageLayout.of(context)
|
||||
.viewDataStack
|
||||
.length <
|
||||
3
|
||||
: () => (!AdaptivePageLayout.of(context)
|
||||
.columnMode(context) ||
|
||||
AdaptivePageLayout.of(context)
|
||||
.viewDataStack
|
||||
.length <
|
||||
3)
|
||||
? AdaptivePageLayout.of(context)
|
||||
.pushNamed('/rooms/${room.id}/details')
|
||||
: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue