From 65ee4c6c257aef26b6d3e5190319f9ee4f5d817c Mon Sep 17 00:00:00 2001 From: dab246 Date: Mon, 22 Apr 2024 15:09:42 +0700 Subject: [PATCH] TF-2806 Disable rounded border of mailbox list on desktop --- lib/features/mailbox/presentation/mailbox_view_web.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/features/mailbox/presentation/mailbox_view_web.dart b/lib/features/mailbox/presentation/mailbox_view_web.dart index 14847e24f..208e9a795 100644 --- a/lib/features/mailbox/presentation/mailbox_view_web.dart +++ b/lib/features/mailbox/presentation/mailbox_view_web.dart @@ -23,6 +23,9 @@ class MailboxView extends BaseMailboxView { Widget build(BuildContext context) { return Drawer( elevation: controller.responsiveUtils.isDesktop(context) ? 0 : 16.0, + shape: controller.responsiveUtils.isDesktop(context) + ? const RoundedRectangleBorder() + : null, child: Scaffold( backgroundColor: controller.responsiveUtils.isWebDesktop(context) ? AppColor.colorBgDesktop