fix: Minor apl bugs

This commit is contained in:
Krille Fear 2021-01-16 13:24:52 +00:00
commit d7cdd5b35d
22 changed files with 170 additions and 135 deletions

View file

@ -114,8 +114,10 @@ class _ChatSettingsPopupMenuState extends State<ChatSettingsPopupMenu> {
startCallAction(context);
break;
case 'details':
await AdaptivePageLayout.of(context).pushNamedAndRemoveAllOthers(
'/rooms/${widget.room.id}/details');
if (AdaptivePageLayout.of(context).viewDataStack.length < 3) {
await AdaptivePageLayout.of(context)
.pushNamed('/rooms/${widget.room.id}/details');
}
break;
}