mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
parent
627426f604
commit
2d8e6f9745
1 changed files with 2 additions and 2 deletions
|
@ -120,10 +120,10 @@ void EditInviteLinkBox(
|
||||||
int expireValue = 0;
|
int expireValue = 0;
|
||||||
int usageValue = 0;
|
int usageValue = 0;
|
||||||
};
|
};
|
||||||
const auto state = container->lifetime().make_state<State>(State{
|
const auto state = box->lifetime().make_state<State>(State{
|
||||||
.expireValue = expire,
|
.expireValue = expire,
|
||||||
.usageValue = usage
|
.usageValue = usage
|
||||||
});
|
});
|
||||||
const auto regenerate = [=] {
|
const auto regenerate = [=] {
|
||||||
expireGroup->setValue(state->expireValue);
|
expireGroup->setValue(state->expireValue);
|
||||||
usageGroup->setValue(state->usageValue);
|
usageGroup->setValue(state->usageValue);
|
||||||
|
|
Loading…
Add table
Reference in a new issue