From 6b8646ada4c4dff0c9669bee950444c00e061ec9 Mon Sep 17 00:00:00 2001 From: "s.veretennikov" Date: Mon, 13 Jan 2025 20:17:10 +0500 Subject: [PATCH] [trello.com/c/WmyCJE1a] Fix renaming of the initial system contacts --- Adamant/Modules/PartnerQR/PartnerQRViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(