mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
uiux(Chat): replace status ens address with user names in suggestion box
UX request mentioned in #769 Fixes part of #769
This commit is contained in:
parent
bdfdf263cc
commit
6fd4c363e7
@ -213,6 +213,7 @@ StackLayout {
|
|||||||
chatsModel.plainText(chatInput.textInput.text);
|
chatsModel.plainText(chatInput.textInput.text);
|
||||||
|
|
||||||
let aliasName = item[suggestionsBox.property.split(",").map(p => p.trim()).find(p => !!item[p])]
|
let aliasName = item[suggestionsBox.property.split(",").map(p => p.trim()).find(p => !!item[p])]
|
||||||
|
aliasName = aliasName.replace(".stateofus.eth", "")
|
||||||
let nameLen = aliasName.length + 2 // We're doing a +2 here because of the `@` and the trailing whitespace
|
let nameLen = aliasName.length + 2 // We're doing a +2 here because of the `@` and the trailing whitespace
|
||||||
let position = 0;
|
let position = 0;
|
||||||
let text = ""
|
let text = ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user