From a35c4d083fa2923e57978543ab0d2086d09afc06 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 16 Jan 2021 20:52:39 +0100 Subject: [PATCH] fix: Column width --- lib/views/chat.dart | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/views/chat.dart b/lib/views/chat.dart index 689a21df..d984e618 100644 --- a/lib/views/chat.dart +++ b/lib/views/chat.dart @@ -639,11 +639,12 @@ class _ChatState extends State { 0, (MediaQuery.of(context).size.width - FluffyThemes.columnWidth * - (2.5 + - (AdaptivePageLayout.of(context) - .threeColumnMode(context) - ? 0 - : 1))) / + (AdaptivePageLayout.of(context) + .currentViewData + .rightView != + null + ? 4.5 + : 3.5)) / 2), ), reverse: true,