diff --git a/Telegram/SourceFiles/ui/chat/chat_style.cpp b/Telegram/SourceFiles/ui/chat/chat_style.cpp index b0b23e1d3..7055248db 100644 --- a/Telegram/SourceFiles/ui/chat/chat_style.cpp +++ b/Telegram/SourceFiles/ui/chat/chat_style.cpp @@ -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; }