From 907c257eaf173ef204169c14a6b76b43dc000283 Mon Sep 17 00:00:00 2001 From: Pascal Precht Date: Thu, 25 Mar 2021 10:34:05 +0100 Subject: [PATCH] fix(Wallet): prevent signing phrase from leaking out of modal --- ui/app/AppLayouts/Wallet/SignPhraseModal.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/app/AppLayouts/Wallet/SignPhraseModal.qml b/ui/app/AppLayouts/Wallet/SignPhraseModal.qml index 69cac5c7e4..f71470d3e6 100644 --- a/ui/app/AppLayouts/Wallet/SignPhraseModal.qml +++ b/ui/app/AppLayouts/Wallet/SignPhraseModal.qml @@ -15,6 +15,8 @@ ModalPopup { Column { anchors.horizontalCenter: parent.horizontalCenter + anchors.left: parent.left + anchors.right: parent.right StyledText { anchors.horizontalCenter: parent.horizontalCenter @@ -40,8 +42,7 @@ ModalPopup { Rectangle { color: Style.current.inputBackground height: 44 - width: signPhrasePopup.width - anchors.left: signPhrasePopup.left + width: parent.width StyledText { id: signingPhrase anchors.horizontalCenter: parent.horizontalCenter @@ -71,6 +72,7 @@ ModalPopup { text: qsTrId("three-words-description-2") verticalAlignment: Text.AlignVCenter horizontalAlignment: Text.AlignHCenter + width: parent.width font.pixelSize: 13 height: 18 color: Style.current.danger