mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Fix creating default starref program.
This commit is contained in:
parent
46fcc695a5
commit
ca8c70cc95
1 changed files with 2 additions and 0 deletions
|
@ -499,6 +499,7 @@ void InnerWidget::setupCommission() {
|
|||
[=](int value) { return FormatStarRefCommission(value); },
|
||||
_state.exists),
|
||||
st::boxRowPadding);
|
||||
_state.program.commission = commission;
|
||||
|
||||
Ui::AddSkip(_container, st::defaultVerticalListSkip * 2);
|
||||
Ui::AddDividerText(_container, tr::lng_star_ref_commission_about());
|
||||
|
@ -541,6 +542,7 @@ void InnerWidget::setupDuration() {
|
|||
label,
|
||||
_state.exists),
|
||||
st::boxRowPadding);
|
||||
_state.program.durationMonths = durationMonths;
|
||||
|
||||
Ui::AddSkip(_container, st::defaultVerticalListSkip * 2);
|
||||
Ui::AddDividerText(_container, tr::lng_star_ref_duration_about());
|
||||
|
|
Loading…
Add table
Reference in a new issue