From 5e145837d2a16d0cc0dce2fe3afab0ebe2f50861 Mon Sep 17 00:00:00 2001 From: ggurdin Date: Tue, 3 Sep 2024 10:43:26 -0400 Subject: [PATCH] add padding to reaction picker --- .../chat/message_selection_overlay.dart | 25 ++++++++++++++----- 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/lib/pangea/widgets/chat/message_selection_overlay.dart b/lib/pangea/widgets/chat/message_selection_overlay.dart index 6f3100b24..744863187 100644 --- a/lib/pangea/widgets/chat/message_selection_overlay.dart +++ b/lib/pangea/widgets/chat/message_selection_overlay.dart @@ -190,10 +190,12 @@ class MessageSelectionOverlayState extends State { ), ); - final bool showDetails = Matrix.of(context) - .store - .getBool(SettingKeys.displayChatDetailsColumn) ?? - false; + final bool showDetails = (Matrix.of(context) + .store + .getBool(SettingKeys.displayChatDetailsColumn) ?? + false) && + FluffyThemes.isThreeColumnMode(context) && + widget.controller.room.membership == Membership.join; return Expanded( child: Stack( @@ -212,10 +214,21 @@ class MessageSelectionOverlayState extends State { ), Align( alignment: Alignment.bottomCenter, - child: Column( + child: Row( mainAxisSize: MainAxisSize.min, children: [ - OverlayFooter(controller: widget.controller), + Expanded( + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + OverlayFooter(controller: widget.controller), + ], + ), + ), + if (showDetails) + const SizedBox( + width: FluffyThemes.columnWidth, + ), ], ), ),