diff --git a/Adamant/Modules/PartnerQR/PartnerQRViewModel.swift b/Adamant/Modules/PartnerQR/PartnerQRViewModel.swift index e56b4cba3..66588476a 100644 --- a/Adamant/Modules/PartnerQR/PartnerQRViewModel.swift +++ b/Adamant/Modules/PartnerQR/PartnerQRViewModel.swift @@ -225,7 +225,7 @@ private extension PartnerQRViewModel { alert.addTextField { [weak self] textField in textField.placeholder = .adamant.chat.name textField.autocapitalizationType = .words - textField.text = self?.addressBookService.getName(for: address) + textField.text = self?.addressBookService.getName(for: address) ?? self?.partnerName } let renameAction = UIAlertAction(