mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add FileSizeLimitBox and pass "ref" to premium payment.
This commit is contained in:
@@ -251,7 +251,12 @@ void SetupSections(
|
||||
std::move(label),
|
||||
st::settingsButton,
|
||||
std::move(descriptor)
|
||||
)->addClickHandler([=] { showOther(type); });
|
||||
)->addClickHandler([=] {
|
||||
if (type == PremiumId()) {
|
||||
controller->setPremiumRef("settings");
|
||||
}
|
||||
showOther(type);
|
||||
});
|
||||
};
|
||||
if (controller->session().supportMode()) {
|
||||
SetupSupport(controller, container);
|
||||
|
Reference in New Issue
Block a user