mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Ensured to clear all top bar suggestion states on each check.
This commit is contained in:
parent
3501e4f44d
commit
0b2acec50c
1 changed files with 6 additions and 0 deletions
|
@ -109,6 +109,12 @@ rpl::producer<Ui::SlideWrap<Ui::RpWidget>*> TopBarSuggestionValue(
|
||||||
};
|
};
|
||||||
|
|
||||||
const auto processCurrentSuggestion = [=](auto repeat) -> void {
|
const auto processCurrentSuggestion = [=](auto repeat) -> void {
|
||||||
|
state->birthdayLifetime.destroy();
|
||||||
|
state->premiumLifetime.destroy();
|
||||||
|
state->userpicLifetime.destroy();
|
||||||
|
state->giftsLifetime.destroy();
|
||||||
|
state->creditsLifetime.destroy();
|
||||||
|
|
||||||
ensureWrap();
|
ensureWrap();
|
||||||
const auto content = state->content;
|
const auto content = state->content;
|
||||||
const auto wrap = state->wrap;
|
const auto wrap = state->wrap;
|
||||||
|
|
Loading…
Add table
Reference in a new issue