mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +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 usageValue = 0;
|
||||
};
|
||||
const auto state = container->lifetime().make_state<State>(State{
|
||||
const auto state = box->lifetime().make_state<State>(State{
|
||||
.expireValue = expire,
|
||||
.usageValue = usage
|
||||
});
|
||||
});
|
||||
const auto regenerate = [=] {
|
||||
expireGroup->setValue(state->expireValue);
|
||||
usageGroup->setValue(state->usageValue);
|
||||
|
|
Loading…
Add table
Reference in a new issue