|
|
@ -559,10 +559,12 @@ class _ChatState extends State<Chat> {
|
|
|
|
'${room.directChatMatrixID} ',
|
|
|
|
'${room.directChatMatrixID} ',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
: () => AdaptivePageLayout.of(context)
|
|
|
|
: () => (!AdaptivePageLayout.of(context)
|
|
|
|
.viewDataStack
|
|
|
|
.columnMode(context) ||
|
|
|
|
.length <
|
|
|
|
AdaptivePageLayout.of(context)
|
|
|
|
3
|
|
|
|
.viewDataStack
|
|
|
|
|
|
|
|
.length <
|
|
|
|
|
|
|
|
3)
|
|
|
|
? AdaptivePageLayout.of(context)
|
|
|
|
? AdaptivePageLayout.of(context)
|
|
|
|
.pushNamed('/rooms/${room.id}/details')
|
|
|
|
.pushNamed('/rooms/${room.id}/details')
|
|
|
|
: null,
|
|
|
|
: null,
|
|
|
|