Fix Chat / Effect previews in custom themes.

This commit is contained in:
John Preston 2024-05-14 14:54:46 +04:00
parent a011a7c316
commit f7ab8a2174
1 changed files with 2 additions and 0 deletions

View File

@ -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();