mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Implement animated spoilers.
This commit is contained in:
@@ -151,7 +151,7 @@ void AddPremiumPrivacyButton(
|
||||
) | rpl::filter([=]() -> bool {
|
||||
return state->widget.x();
|
||||
}) | rpl::start_with_next([=] {
|
||||
auto p = Painter(&state->widget);
|
||||
auto p = QPainter(&state->widget);
|
||||
st::settingsPremiumLock.paint(p, 0, 0, state->widget.width());
|
||||
}, state->widget.lifetime());
|
||||
|
||||
|
Reference in New Issue
Block a user