mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Switched suggestion buttons in main settings to full radius.
This commit is contained in:
@@ -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());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user