mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 09:05:14 +00:00
Support "premiums and ..." privacy editing.
This commit is contained in:
@@ -440,10 +440,7 @@ void SetupPremium(
|
||||
button->addClickHandler([=] {
|
||||
showOther(BusinessId());
|
||||
});
|
||||
constexpr auto kNewExpiresAt = int(1711958400);
|
||||
if (base::unixtime::now() < kNewExpiresAt) {
|
||||
Ui::NewBadge::AddToRight(button);
|
||||
}
|
||||
Ui::NewBadge::AddToRight(button);
|
||||
|
||||
if (controller->session().premiumCanBuy()) {
|
||||
const auto button = AddButtonWithIcon(
|
||||
|
Reference in New Issue
Block a user