mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-20 02:28:56 +00:00
fix method
This commit is contained in:
parent
e83a43d075
commit
dc53713959
@ -157,7 +157,7 @@ method removeContact*(self: Module, publicKey: string) =
|
||||
method changeContactNickname*(self: Module, publicKey: string, nickname: string) =
|
||||
self.controller.changeContactNickname(publicKey, nickname)
|
||||
|
||||
proc addOrUpdateContactItem*(self: Module, publicKey: string) =
|
||||
method addOrUpdateContactItem*(self: Module, publicKey: string) =
|
||||
let ind = self.view.contactsModel().findIndexByPubKey(publicKey)
|
||||
let item = self.createItemFromPublicKey(publicKey)
|
||||
if ind == -1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user