[Defaults] Do not share phone by default when adding contact

This commit is contained in:
Eric Kotato 2022-09-11 06:27:18 +03:00 committed by Eric Kotato
parent ec125d72b0
commit a006b15397
2 changed files with 5 additions and 1 deletions

View file

@ -267,7 +267,7 @@ void Controller::setupSharePhoneNumber() {
object_ptr<Ui::Checkbox>(
_box,
tr::lng_contact_share_phone(tr::now),
true,
false,
st::defaultBoxCheckbox),
st::addContactWarningMargin);
_box->addRow(

View file

@ -418,6 +418,10 @@ historyComposeButton: FlatButton {
color: historyComposeButtonBgRipple;
}
}
historyComposeButtonLabel: FlatLabel(defaultFlatLabel) {
textFg: windowActiveTextFg;
style: semiboldTextStyle;
}
historyUnblock: FlatButton(historyComposeButton) {
color: attentionButtonFg;
overColor: attentionButtonFgOver;