Fixed adaptive bubble resizing

This commit is contained in:
Eric Kotato 2020-01-27 04:59:01 +03:00
parent 1f0573f36e
commit 8b9582515e

View file

@ -529,7 +529,14 @@ HistoryWidget::HistoryWidget(
AdaptiveBubblesChanges(
) | rpl::start_with_next([=] {
crl::on_main(this, [=] {
updateHistoryGeometry();
if (_history) {
_history->forceFullResize();
if (_migrated) {
_migrated->forceFullResize();
}
updateHistoryGeometry();
update();
}
});
}, lifetime());