Switched suggestion buttons in main settings to full radius.

This commit is contained in:
23rd
2026-04-22 12:49:54 +03:00
parent 47489fd513
commit 1fc7a6de95
@@ -882,6 +882,7 @@ void SetupValidatePhoneNumberSuggestion(
wrap,
tr::lng_box_yes(),
st::inviteLinkButton);
yes->setFullRadius(true);
yes->setClickedCallback([=] {
controller->session().promoSuggestions().dismiss(
kSugValidatePhone.utf8());
@@ -891,6 +892,7 @@ void SetupValidatePhoneNumberSuggestion(
wrap,
tr::lng_box_no(),
st::inviteLinkButton);
no->setFullRadius(true);
no->setClickedCallback([=] {
const auto sharedLabel = std::make_shared<base::weak_qptr<Ui::FlatLabel>>();
const auto height = st::boxLabel.style.font->height;
@@ -982,6 +984,7 @@ void SetupValidatePasswordSuggestion(
wrap,
tr::lng_settings_suggestion_password_yes(),
st::inviteLinkButton);
yes->setFullRadius(true);
yes->setClickedCallback([=] {
controller->session().promoSuggestions().dismiss(
Data::PromoSuggestions::SugValidatePassword());
@@ -991,6 +994,7 @@ void SetupValidatePasswordSuggestion(
wrap,
tr::lng_settings_suggestion_password_no(),
st::inviteLinkButton);
no->setFullRadius(true);
no->setClickedCallback([=] {
showOther(Settings::CloudPasswordSuggestionInputId());
});