mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Moved out getting of phone pattern groups from PhoneInput fields.
This commit is contained in:
@@ -261,7 +261,8 @@ AddContactBox::AddContactBox(
|
||||
st::defaultInputField,
|
||||
tr::lng_contact_phone(),
|
||||
Countries::ExtractPhoneCode(session->user()->phone()),
|
||||
phone)
|
||||
phone,
|
||||
[](const QString &s) { return Countries::Groups(s); })
|
||||
, _invertOrder(langFirstNameGoesSecond()) {
|
||||
if (!phone.isEmpty()) {
|
||||
_phone->setDisabled(true);
|
||||
|
Reference in New Issue
Block a user