Merge pull request #201 from GetStream/fix/media-picker
fix: Fixed no permission modal
This commit is contained in:
@@ -974,9 +974,22 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
'svgs/icon_picture_empty_state.svg',
|
'svgs/icon_picture_empty_state.svg',
|
||||||
package: 'stream_chat_flutter',
|
package: 'stream_chat_flutter',
|
||||||
height: 140,
|
height: 140,
|
||||||
color:
|
color: StreamChatTheme.of(context)
|
||||||
StreamChatTheme.of(context).colorTheme.accentBlue,
|
.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(
|
Center(
|
||||||
child: Text(
|
child: Text(
|
||||||
'Allow access to your gallery',
|
'Allow access to your gallery',
|
||||||
|
|||||||
Reference in New Issue
Block a user