mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-25 01:50:36 +00:00
Always use first color as the main one.
This commit is contained in:
parent
cb6698cf4a
commit
c2a1817400
@ -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…
Reference in New Issue
Block a user