1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 22:39:22 +00:00

Fix colors

This commit is contained in:
Pierre HUBERT 2021-03-12 23:09:40 +01:00
parent 70eb088756
commit 05c806b358

View File

@ -86,11 +86,12 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
Color get _greyColor => Color(0xff8f8f8f);
Color get _gradientColorStart =>
_conversation.color ?? (darkTheme() ? Color(0xff00b6f3) : Colors.green);
_conversation.color ??
(darkTheme() ? Color(0xff00b6f3) : Colors.blue.shade300);
Color get _gradientColorEnd =>
_conversation.color?.withOpacity(0.7) ??
(darkTheme() ? Color(0xff0184dc) : Colors.greenAccent);
(darkTheme() ? Color(0xff0184dc) : Colors.blueAccent.shade700);
Color get _separatorColor =>
darkTheme() ? Color(0xff272c35) : Color(0xffBEBEBE);
@ -496,8 +497,8 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
);
Widget _buildEmojiContainer() => EmojiPicker(
bgColor: _conversation.color ?? Colors.blue,
indicatorColor: _conversation.color ?? Colors.blue,
bgColor: _conversation.color ?? Colors.blue.shade900,
indicatorColor: _conversation.color ?? Colors.blue.shade900,
rows: 3,
columns: 7,
onEmojiSelected: (emoji, category) {