From 1fc7a6de9584a4298fbe22a6e4c6983c49bc4a3a Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Wed, 22 Apr 2026 12:49:54 +0300 Subject: [PATCH] Switched suggestion buttons in main settings to full radius. --- Telegram/SourceFiles/settings/sections/settings_main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/settings/sections/settings_main.cpp b/Telegram/SourceFiles/settings/sections/settings_main.cpp index 94dc772a9c..3d4eda91da 100644 --- a/Telegram/SourceFiles/settings/sections/settings_main.cpp +++ b/Telegram/SourceFiles/settings/sections/settings_main.cpp @@ -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>(); 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()); });