fix: Routing broken in chat details
This commit is contained in:
parent
2e402acb7f
commit
db79a96d08
2 changed files with 8 additions and 5 deletions
|
|
@ -95,7 +95,8 @@ class _ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
|
|||
widget.room.setPushRuleState(PushRuleState.notify));
|
||||
break;
|
||||
case 'details':
|
||||
if (AdaptivePageLayout.of(context).viewDataStack.length < 3) {
|
||||
if (!AdaptivePageLayout.of(context).columnMode(context) ||
|
||||
AdaptivePageLayout.of(context).viewDataStack.length < 3) {
|
||||
await AdaptivePageLayout.of(context)
|
||||
.pushNamed('/rooms/${widget.room.id}/details');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue