mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 = result.outlines[0];
|
||||||
result.bg.setAlpha(0.12 * 255);
|
result.bg.setAlpha(0.12 * 255);
|
||||||
result.name = (_dark && colorPatternIndex(colorIndex) == 1)
|
result.name = result.outlines[0];
|
||||||
? result.outlines[1]
|
|
||||||
: result.outlines[0];
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue