mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Add rpl interface to RadiobuttonGroup.
This commit is contained in:
@@ -598,7 +598,7 @@ object_ptr<Ui::RpWidget> PhoneNumberPrivacyController::setupMiddleWidget(
|
||||
_saveAdditional = [=] {
|
||||
controller->session().api().userPrivacy().save(
|
||||
Api::UserPrivacy::Key::AddedByPhone,
|
||||
Api::UserPrivacy::Rule{ .option = group->value() });
|
||||
Api::UserPrivacy::Rule{ .option = group->current() });
|
||||
};
|
||||
|
||||
return widget;
|
||||
|
Reference in New Issue
Block a user