mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-07-24 17:35:43 +02:00
usernametextedit: create account page should use default nameserver
Change-Id: I11a25c6121171eb4fb99b492cc18c32b085b4aaa GitLab: #1159
This commit is contained in:
parent
087135cccf
commit
d4b3048e8e
2 changed files with 3 additions and 1 deletions
|
@ -51,6 +51,7 @@ ModalTextEdit {
|
|||
|
||||
property bool isActive: false
|
||||
property string infohash: CurrentAccount.uri
|
||||
property string accountId: CurrentAccount.id
|
||||
property string registeredName: CurrentAccount.registeredName
|
||||
staticText: root.isActive ? registeredName : (registeredName ? registeredName : infohash)
|
||||
|
||||
|
@ -118,7 +119,7 @@ ModalTextEdit {
|
|||
onTriggered: {
|
||||
if (dynamicText.length !== 0) {
|
||||
nameRegistrationState = UsernameTextEdit.NameRegistrationState.SEARCHING;
|
||||
NameDirectory.lookupName(CurrentAccount.id, dynamicText);
|
||||
NameDirectory.lookupName(root.accountId, dynamicText);
|
||||
} else {
|
||||
nameRegistrationState = UsernameTextEdit.NameRegistrationState.BLANK;
|
||||
}
|
||||
|
|
|
@ -133,6 +133,7 @@ Rectangle {
|
|||
|
||||
UsernameTextEdit {
|
||||
id: usernameEdit
|
||||
accountId: ""
|
||||
|
||||
icon: PushButton {
|
||||
id: infoBox
|
||||
|
|
Loading…
Add table
Reference in a new issue