TF-2806 Disable rounded border of mailbox list on desktop

This commit is contained in:
dab246
2024-04-22 15:09:42 +07:00
committed by Dat H. Pham
parent 9f6608d017
commit 65ee4c6c25
@@ -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