Fix updating langs in payments form buttons.

This commit is contained in:
John Preston 2021-04-25 10:33:33 +04:00
parent 2843500ce3
commit 68e35b232d

View file

@ -194,6 +194,13 @@ void FormSummary::setupControls() {
_scroll->heightValue(),
_layout->heightValue(),
_1 + _2 < _3));
rpl::merge(
_submit->widthValue(),
_cancel->widthValue()
) | rpl::skip(2) | rpl::start_with_next([=] {
updateControlsGeometry();
}, lifetime());
}
void FormSummary::setupCover(not_null<VerticalLayout*> layout) {