From 0cdf89f0f99cda622200442e644fb91c6160d5f5 Mon Sep 17 00:00:00 2001 From: dab246 Date: Tue, 19 Mar 2024 14:08:03 +0700 Subject: [PATCH] TF-2717 Display attachment bar below subject field on tablet --- ...bile_attachment_composer_widget_style.dart | 1 + .../mobile_attachment_composer_widget.dart | 153 +++++++++--------- 2 files changed, 78 insertions(+), 76 deletions(-) diff --git a/lib/features/composer/presentation/styles/mobile/mobile_attachment_composer_widget_style.dart b/lib/features/composer/presentation/styles/mobile/mobile_attachment_composer_widget_style.dart index 4c401ff6e..30eb22df9 100644 --- a/lib/features/composer/presentation/styles/mobile/mobile_attachment_composer_widget_style.dart +++ b/lib/features/composer/presentation/styles/mobile/mobile_attachment_composer_widget_style.dart @@ -6,5 +6,6 @@ class MobileAttachmentComposerWidgetStyle { static const double listItemHeight = 50; static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.symmetric(vertical: 8, horizontal: 16); + static const EdgeInsetsGeometry tabletPadding = EdgeInsetsDirectional.only(start: 16, end: 16, bottom: 8); static const EdgeInsetsGeometry itemMargin = EdgeInsetsDirectional.only(top: 8); } \ No newline at end of file diff --git a/lib/features/composer/presentation/widgets/mobile/mobile_attachment_composer_widget.dart b/lib/features/composer/presentation/widgets/mobile/mobile_attachment_composer_widget.dart index ad2801112..6d0e4817c 100644 --- a/lib/features/composer/presentation/widgets/mobile/mobile_attachment_composer_widget.dart +++ b/lib/features/composer/presentation/widgets/mobile/mobile_attachment_composer_widget.dart @@ -53,80 +53,15 @@ class _MobileAttachmentComposerWidgetState extends State _maxCountDisplayedAttachments) { _listFileDisplayed = reversedList.sublist(0, _maxCountDisplayedAttachments); } else { _listFileDisplayed = reversedList;