mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-19 07:37:11 +02:00
Fix updating langs in payments form buttons.
This commit is contained in:
parent
2843500ce3
commit
68e35b232d
1 changed files with 7 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue