mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Refresh stickers when premium becomes possible.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user