From 4405397e180d1718471c24e9ae7ef0de2b7f757e Mon Sep 17 00:00:00 2001 From: Sale Djenic Date: Mon, 29 Jan 2024 12:36:39 +0100 Subject: [PATCH] fix(keycard): keycard details screen's title should follow the keypair's name, not the keycard's names --- .../AppLayouts/Profile/views/keycard/DetailsView.qml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/ui/app/AppLayouts/Profile/views/keycard/DetailsView.qml b/ui/app/AppLayouts/Profile/views/keycard/DetailsView.qml index c99693d69b..9bfd4a948e 100644 --- a/ui/app/AppLayouts/Profile/views/keycard/DetailsView.qml +++ b/ui/app/AppLayouts/Profile/views/keycard/DetailsView.qml @@ -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) - } } }