mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Refresh stickers when premium becomes possible.
This commit is contained in:
parent
e8933decb1
commit
b750908dff
1 changed files with 3 additions and 2 deletions
|
@ -394,11 +394,12 @@ TabbedSelector::TabbedSelector(
|
|||
_showRequests.fire({});
|
||||
}, lifetime());
|
||||
|
||||
session().data().stickers().updated(
|
||||
rpl::merge(
|
||||
session().premiumPossibleValue() | rpl::to_empty,
|
||||
session().data().stickers().updated()
|
||||
) | rpl::start_with_next([=] {
|
||||
refreshStickers();
|
||||
}, lifetime());
|
||||
refreshStickers();
|
||||
}
|
||||
//setAttribute(Qt::WA_AcceptTouchEvents);
|
||||
setAttribute(Qt::WA_OpaquePaintEvent, false);
|
||||
|
|
Loading…
Add table
Reference in a new issue