Skip to content

Commit e82ead9

Browse files
authored
Merge pull request #645 from Adamant-im/trello.com/c/WmyCJE1a
[trello.com/c/WmyCJE1a] Fix rename alert on Partner's QR screen.
2 parents e88b60a + 6b8646a commit e82ead9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adamant/Modules/PartnerQR/PartnerQRViewModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ private extension PartnerQRViewModel {
225225
alert.addTextField { [weak self] textField in
226226
textField.placeholder = .adamant.chat.name
227227
textField.autocapitalizationType = .words
228-
textField.text = self?.addressBookService.getName(for: address)
228+
textField.text = self?.addressBookService.getName(for: address) ?? self?.partnerName
229229
}
230230

231231
let renameAction = UIAlertAction(

0 commit comments

Comments
 (0)