From 465fc42718be3bc8d6e1a9cc0be1b61b6eccdc32 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 29 May 2024 09:43:40 +0400 Subject: [PATCH] Fix chat preview in non-default themes. --- Telegram/SourceFiles/history/view/history_view_chat_preview.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp index 0a7e9a8b98..b804f73824 100644 --- a/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp +++ b/Telegram/SourceFiles/history/view/history_view_chat_preview.cpp @@ -242,6 +242,7 @@ Item::Item(not_null parent, not_null thread) this, tr::lng_context_mark_read(tr::now), st::previewMarkRead)) { + _chatStyle->apply(_theme.get()); setPointerCursor(false); setMinWidth(st::previewMenu.menu.widthMin); resize(minWidth(), contentHeight());