1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-10-22 22:43:22 +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) {