From 1662c14dd35f5f7a32a5b6285b917b232189aa7b Mon Sep 17 00:00:00 2001 From: Deven Joshi Date: Fri, 8 Jan 2021 15:26:16 +0530 Subject: [PATCH] fix: Fixed no permission modal --- lib/src/message_input.dart | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/lib/src/message_input.dart b/lib/src/message_input.dart index 0a959ffa..ee8763ba 100644 --- a/lib/src/message_input.dart +++ b/lib/src/message_input.dart @@ -974,9 +974,22 @@ class MessageInputState extends State { 'svgs/icon_picture_empty_state.svg', package: 'stream_chat_flutter', height: 140, - color: - StreamChatTheme.of(context).colorTheme.accentBlue, + color: StreamChatTheme.of(context) + .colorTheme + .greyGainsboro, ), + Text( + 'Please enable access to your photos \nand videos so you can share them with friends.', + style: StreamChatTheme.of(context) + .textTheme + .body + .copyWith( + color: StreamChatTheme.of(context) + .colorTheme + .grey), + textAlign: TextAlign.center, + ), + SizedBox(height: 6.0), Center( child: Text( 'Allow access to your gallery',