mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Always use first color as the main one.
This commit is contained in:
parent
cb6698cf4a
commit
c2a1817400
1 changed files with 1 additions and 3 deletions
|
@ -781,9 +781,7 @@ ColorIndexValues ChatStyle::computeColorIndexValues(
|
|||
};
|
||||
result.bg = result.outlines[0];
|
||||
result.bg.setAlpha(0.12 * 255);
|
||||
result.name = (_dark && colorPatternIndex(colorIndex) == 1)
|
||||
? result.outlines[1]
|
||||
: result.outlines[0];
|
||||
result.name = result.outlines[0];
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue