mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-24 04:28:58 +00:00
fix(keycard): keycard details screen's title should follow the keypair's name, not the keycard's names
This commit is contained in:
parent
2ae217a830
commit
4405397e18
@ -35,13 +35,6 @@ ColumnLayout {
|
||||
root.detailsModelIsEmpty()
|
||||
}
|
||||
}
|
||||
|
||||
function checkAndCheckTitleIfNeeded(newKeycardName) {
|
||||
// We change title if there is only a single keycard for a keypair in keycard details view
|
||||
if (root.keycardStore.keycardModule.keycardDetailsModel.count === 1) {
|
||||
root.changeSectionTitle(newKeycardName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
StatusListView {
|
||||
@ -61,10 +54,6 @@ ColumnLayout {
|
||||
keyPairIcon: model.keycard.icon
|
||||
keyPairImage: model.keycard.image
|
||||
keyPairAccounts: model.keycard.accounts
|
||||
|
||||
onKeycardNameChanged: {
|
||||
d.checkAndCheckTitleIfNeeded(keycardName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user