Skip to content

Commit

Permalink
[trello.com/c/WmyCJE1a] Fix renaming of the initial system contacts
Browse files Browse the repository at this point in the history
  • Loading branch information
s.veretennikov committed Jan 13, 2025
1 parent 81e7e3e commit 6b8646a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adamant/Modules/PartnerQR/PartnerQRViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 6b8646a

Please sign in to comment.