diff --git a/lib/ui/screens/conversation_screen.dart b/lib/ui/screens/conversation_screen.dart index d089afb..aa3016c 100644 --- a/lib/ui/screens/conversation_screen.dart +++ b/lib/ui/screens/conversation_screen.dart @@ -88,10 +88,11 @@ class _ConversationScreenState extends SafeState { Color get _greyColor => Color(0xff8f8f8f); Color get _gradientColorStart => - darkTheme() ? Color(0xff00b6f3) : Colors.green; + _conversation.color ?? (darkTheme() ? Color(0xff00b6f3) : Colors.green); Color get _gradientColorEnd => - darkTheme() ? Color(0xff0184dc) : Colors.greenAccent; + _conversation.color?.withOpacity(0.7) ?? + (darkTheme() ? Color(0xff0184dc) : Colors.greenAccent); Color get _separatorColor => darkTheme() ? Color(0xff272c35) : Color(0xffBEBEBE); @@ -469,7 +470,9 @@ class _ConversationScreenState extends SafeState { }, icon: Icon( Icons.face, - color: _showEmojiPicker ? Colors.green : null, + color: _showEmojiPicker + ? (_conversation.color ?? Colors.blue) + : null, ), ), ], @@ -495,8 +498,8 @@ class _ConversationScreenState extends SafeState { ); Widget _buildEmojiContainer() => EmojiPicker( - bgColor: Colors.green, - indicatorColor: Colors.green, + bgColor: _conversation.color ?? Colors.blue, + indicatorColor: _conversation.color ?? Colors.blue, rows: 3, columns: 7, onEmojiSelected: (emoji, category) {