1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-12-26 04:48:51 +00:00

Fix emoji picker color

This commit is contained in:
Pierre HUBERT 2021-05-04 07:52:44 +02:00
parent e7b4574920
commit 6470e2145c

View File

@ -589,9 +589,7 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
},
icon: Icon(
Icons.face,
color: _showEmojiPicker
? (_conversation.color ?? Colors.blue)
: null,
color: _showEmojiPicker ? _senderColor : null,
),
),
],
@ -617,8 +615,8 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
);
Widget _buildEmojiContainer() => EmojiPicker(
bgColor: _conversation.color ?? Colors.blue.shade900,
indicatorColor: _conversation.color ?? Colors.blue.shade900,
bgColor: _senderColor,
indicatorColor: _senderColor,
rows: 3,
columns: 7,
onEmojiSelected: (emoji, category) {