2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Check shortcuts / messages limits.

This commit is contained in:
John Preston
2024-03-01 12:29:03 +04:00
parent dd6768a476
commit ca4cbddba6
11 changed files with 253 additions and 51 deletions

View File

@@ -446,10 +446,6 @@ void SetupPremium(
button->addClickHandler([=] {
controller->showGiftPremiumsBox(u"gift"_q);
});
constexpr auto kNewExpiresAt = int(1735689600);
if (base::unixtime::now() < kNewExpiresAt) {
Ui::NewBadge::AddToRight(button);
}
}
Ui::AddSkip(container);
}