Fixed theme of sample bubble message in reactions settings.

This commit is contained in:
23rd 2022-04-15 12:23:10 +03:00
parent 148a173474
commit 64627c9093
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ void AddMessage(
controller,
crl::guard(widget, [=] { widget->update(); }));
state->style = std::make_unique<Ui::ChatStyle>();
state->style->apply(controller->defaultChatTheme().get());
state->icons.lifetimes = std::vector<rpl::lifetime>(2);
const auto history = controller->session().data().history(