mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-01 17:27:53 +00:00
fix(@desktop/community): make backup community key field readonly
fixes: #6104
This commit is contained in:
parent
94bf0a0f88
commit
1b49fd4c35
@ -46,6 +46,7 @@ StatusModal {
|
|||||||
rightPadding: 0
|
rightPadding: 0
|
||||||
label: qsTr("Community private key")
|
label: qsTr("Community private key")
|
||||||
input.text: elidedPkey
|
input.text: elidedPkey
|
||||||
|
input.edit.readOnly: true
|
||||||
input.edit.onActiveFocusChanged: {
|
input.edit.onActiveFocusChanged: {
|
||||||
pKeyInput.input.text = pKeyInput.input.edit.focus ? popup.privateKey : elidedPkey
|
pKeyInput.input.text = pKeyInput.input.edit.focus ? popup.privateKey : elidedPkey
|
||||||
}
|
}
|
||||||
|
@ -176,7 +176,6 @@ StatusAppTwoPanelLayout {
|
|||||||
onBackUpClicked: {
|
onBackUpClicked: {
|
||||||
Global.openPopup(transferOwnershipPopup, {
|
Global.openPopup(transferOwnershipPopup, {
|
||||||
privateKey: root.chatCommunitySectionModule.exportCommunity(root.communityId),
|
privateKey: root.chatCommunitySectionModule.exportCommunity(root.communityId),
|
||||||
store: root.store
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -237,6 +236,7 @@ StatusAppTwoPanelLayout {
|
|||||||
id: transferOwnershipPopup
|
id: transferOwnershipPopup
|
||||||
TransferOwnershipPopup {
|
TransferOwnershipPopup {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
|
store: root.rootStore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user