mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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({});
|
_showRequests.fire({});
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
|
|
||||||
session().data().stickers().updated(
|
rpl::merge(
|
||||||
|
session().premiumPossibleValue() | rpl::to_empty,
|
||||||
|
session().data().stickers().updated()
|
||||||
) | rpl::start_with_next([=] {
|
) | rpl::start_with_next([=] {
|
||||||
refreshStickers();
|
refreshStickers();
|
||||||
}, lifetime());
|
}, lifetime());
|
||||||
refreshStickers();
|
|
||||||
}
|
}
|
||||||
//setAttribute(Qt::WA_AcceptTouchEvents);
|
//setAttribute(Qt::WA_AcceptTouchEvents);
|
||||||
setAttribute(Qt::WA_OpaquePaintEvent, false);
|
setAttribute(Qt::WA_OpaquePaintEvent, false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue