From aca3918786f6e77626bacae8fa2443d550b95ec8 Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Mon, 11 Jan 2021 14:50:31 +0530 Subject: [PATCH] fix: Fixed dialog styling --- lib/src/message_actions_modal.dart | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/src/message_actions_modal.dart b/lib/src/message_actions_modal.dart index cc29527e..486bc83d 100644 --- a/lib/src/message_actions_modal.dart +++ b/lib/src/message_actions_modal.dart @@ -268,8 +268,12 @@ class _MessageActionsModalState extends State { scale: value, child: Center( child: Opacity( - opacity: 0.9, + opacity: 0.8, child: Material( + color: StreamChatTheme.of(context) + .colorTheme + .whiteSnow + .withOpacity(0.8), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(16.0), ), @@ -332,12 +336,14 @@ class _MessageActionsModalState extends State { decoration: BoxDecoration( border: Border( top: BorderSide( + width: 0.5, color: StreamChatTheme.of( context) .colorTheme .grey .withOpacity(0.8)), right: BorderSide( + width: 0.5, color: StreamChatTheme.of( context) .colorTheme @@ -376,6 +382,7 @@ class _MessageActionsModalState extends State { decoration: BoxDecoration( border: Border( top: BorderSide( + width: 0.5, color: StreamChatTheme.of( context) .colorTheme @@ -438,8 +445,12 @@ class _MessageActionsModalState extends State { scale: value, child: Center( child: Opacity( - opacity: 0.9, + opacity: 0.8, child: Material( + color: StreamChatTheme.of(context) + .colorTheme + .whiteSnow + .withOpacity(0.8), shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(16.0), ), @@ -503,6 +514,7 @@ class _MessageActionsModalState extends State { decoration: BoxDecoration( border: Border( top: BorderSide( + width: 0.5, color: StreamChatTheme.of( context) .colorTheme