Fixed theme of sample bubble message in reactions settings.
This commit is contained in:
parent
148a173474
commit
64627c9093
|
@ -125,6 +125,7 @@ void AddMessage(
|
||||||
controller,
|
controller,
|
||||||
crl::guard(widget, [=] { widget->update(); }));
|
crl::guard(widget, [=] { widget->update(); }));
|
||||||
state->style = std::make_unique<Ui::ChatStyle>();
|
state->style = std::make_unique<Ui::ChatStyle>();
|
||||||
|
state->style->apply(controller->defaultChatTheme().get());
|
||||||
state->icons.lifetimes = std::vector<rpl::lifetime>(2);
|
state->icons.lifetimes = std::vector<rpl::lifetime>(2);
|
||||||
|
|
||||||
const auto history = controller->session().data().history(
|
const auto history = controller->session().data().history(
|
||||||
|
|
Loading…
Reference in New Issue