mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 04:49:21 +00:00
Apply conversation color
This commit is contained in:
parent
e35a0d2fd4
commit
b0cfeec513
@ -88,10 +88,11 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
|
||||
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<ConversationScreen> {
|
||||
},
|
||||
icon: Icon(
|
||||
Icons.face,
|
||||
color: _showEmojiPicker ? Colors.green : null,
|
||||
color: _showEmojiPicker
|
||||
? (_conversation.color ?? Colors.blue)
|
||||
: null,
|
||||
),
|
||||
),
|
||||
],
|
||||
@ -495,8 +498,8 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
|
||||
);
|
||||
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user