{{ "chat.userSettingsDialog.security.changePhoneDialog.warn"|translate }}

@if (step() == 0) {
@if (!changePhoneRemoveMode()) { } @if (changePhoneForm.controls['currentPassword'].dirty) { @if (changePhoneForm.controls['currentPassword'].hasError("required")) { } @if (changePhoneForm.controls['currentPassword'].hasError("incorrect")) { } }
} @else {
@if (serviceManager.currentSession()!.userData.phoneSet) { } @if (!changePhoneRemoveMode()) { }
}
{{ "chat.userSettingsDialog.security.phoneNumber"|translate }} @if (serviceManager.currentSession()!.userData.phoneSet) {
{{ 'chat.userSettingsDialog.security.set'|translate }}
} @else {
{{ 'chat.userSettingsDialog.security.notSet'|translate }}
}
@if (serviceManager.currentSession()!.userData.phoneSet) { }