mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Don't allow gifting premium if can't buy.
This commit is contained in:
@@ -419,7 +419,7 @@ void SetupPremium(
|
||||
controller->setPremiumRef("settings");
|
||||
showOther(PremiumId());
|
||||
});
|
||||
{
|
||||
if (controller->session().premiumCanBuy()) {
|
||||
const auto button = AddButtonWithIcon(
|
||||
container,
|
||||
tr::lng_settings_gift_premium(),
|
||||
|
Reference in New Issue
Block a user