mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Ensured to clear all top bar suggestion states on each check.
This commit is contained in:
@@ -109,6 +109,12 @@ rpl::producer<Ui::SlideWrap<Ui::RpWidget>*> TopBarSuggestionValue(
|
||||
};
|
||||
|
||||
const auto processCurrentSuggestion = [=](auto repeat) -> void {
|
||||
state->birthdayLifetime.destroy();
|
||||
state->premiumLifetime.destroy();
|
||||
state->userpicLifetime.destroy();
|
||||
state->giftsLifetime.destroy();
|
||||
state->creditsLifetime.destroy();
|
||||
|
||||
ensureWrap();
|
||||
const auto content = state->content;
|
||||
const auto wrap = state->wrap;
|
||||
|
Reference in New Issue
Block a user