From f7ab8a21748f1041bc4aaa992106a1a6cc1971db Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 14 May 2024 14:54:46 +0400 Subject: [PATCH] Fix Chat / Effect previews in custom themes. --- Telegram/SourceFiles/menu/menu_send.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Telegram/SourceFiles/menu/menu_send.cpp b/Telegram/SourceFiles/menu/menu_send.cpp index 89be563562..67e5deaf8c 100644 --- a/Telegram/SourceFiles/menu/menu_send.cpp +++ b/Telegram/SourceFiles/menu/menu_send.cpp @@ -281,6 +281,8 @@ EffectPreview::EffectPreview( , _bottom(_send ? ((Ui::RpWidget*)_send.get()) : _premiumPromoLabel.get()) , _close(done) , _actionWithEffect(ComposeActionWithEffect(action, _effectId, done)) { + _chatStyle->apply(_theme.get()); + setupGeometry(position); setupItem(); setupBackground();