From 49bc8ccd6ae31966fcc7e4ff0d9a73728162d7d1 Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Sat, 28 Oct 2023 20:49:01 +0400
Subject: [PATCH] Don't gray out background emoji reset icon.

---
 .../SourceFiles/chat_helpers/emoji_list_widget.cpp     | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp
index 411e1638e..2a51048b5 100644
--- a/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp
+++ b/Telegram/SourceFiles/chat_helpers/emoji_list_widget.cpp
@@ -1398,17 +1398,7 @@ void EmojiListWidget::drawRecent(
 		_emojiPaintContext->position = position
 			+ _innerPosition
 			+ _customPosition;
-		const auto isResetIcon = (_mode == Mode::BackgroundEmoji)
-			&& v::is<EmojiPtr>(recent.id.data);
-		if (isResetIcon) {
-			_emojiPaintContext->textColor = st::windowSubTextFg->c;
-		}
 		custom->paint(p, *_emojiPaintContext);
-		if (isResetIcon) {
-			_emojiPaintContext->textColor = _customTextColor
-				? _customTextColor()
-				: st().textFg->c;
-		}
 	} else if (const auto emoji = std::get_if<EmojiPtr>(&recent.id.data)) {
 		if (_mode == Mode::EmojiStatus) {
 			position += QPoint(