From da3f9e7daeb225dcf80d8cdde38988d6de8bdea5 Mon Sep 17 00:00:00 2001 From: Salvatore Giordano Date: Thu, 31 Dec 2020 12:11:57 +0100 Subject: [PATCH] apply theme to edit message --- example/lib/main.dart | 2 +- lib/src/message_actions_modal.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index 8d436614..018b2cab 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -59,7 +59,7 @@ class MyApp extends StatelessWidget { debugShowCheckedModeBanner: false, theme: ThemeData.light(), darkTheme: ThemeData.dark(), - themeMode: ThemeMode.system, + themeMode: ThemeMode.dark, onGenerateRoute: AppRoutes.generateRoute, initialRoute: client.state.user == null ? Routes.CHOOSE_USER : Routes.HOME, diff --git a/lib/src/message_actions_modal.dart b/lib/src/message_actions_modal.dart index adfe3cdd..3bdce507 100644 --- a/lib/src/message_actions_modal.dart +++ b/lib/src/message_actions_modal.dart @@ -273,6 +273,7 @@ class MessageActionsModal extends StatelessWidget { elevation: 2, clipBehavior: Clip.hardEdge, isScrollControlled: true, + backgroundColor: StreamChatTheme.of(context).colorTheme.white, shape: RoundedRectangleBorder( borderRadius: BorderRadius.only( topLeft: Radius.circular(32),