refactor(@desktop/walletv2): clean up account related modals

This commit is contained in:
Pascal Precht 2021-10-18 12:03:14 +02:00 committed by Iuri Matias
parent 6b5db40c47
commit 78414b9c15
3 changed files with 9 additions and 11 deletions

View File

@ -2,12 +2,7 @@ import QtQuick 2.13
import QtQuick.Controls 2.13 import QtQuick.Controls 2.13
import QtQuick.Dialogs 1.3 import QtQuick.Dialogs 1.3
import utils 1.0 import utils 1.0
import "../../../../shared"
import "../../../../shared/status"
import "../views"
import "../panels"
import StatusQ.Core 0.1 import StatusQ.Core 0.1
import StatusQ.Core.Theme 0.1 import StatusQ.Core.Theme 0.1
@ -15,6 +10,9 @@ import StatusQ.Controls 0.1
import StatusQ.Controls.Validators 0.1 import StatusQ.Controls.Validators 0.1
import StatusQ.Popups 0.1 import StatusQ.Popups 0.1
import "../views"
import "../panels"
StatusModal { StatusModal {
id: root id: root
height: (keyOrSeedPhraseInput.input.edit.contentHeight > 56 || root.store.seedPhraseInserted) ? 517 : 498 height: (keyOrSeedPhraseInput.input.edit.contentHeight > 56 || root.store.seedPhraseInserted) ? 517 : 498

View File

@ -2,11 +2,8 @@ import QtQuick 2.13
import QtQuick.Controls 2.13 import QtQuick.Controls 2.13
import QtQuick.Dialogs 1.3 import QtQuick.Dialogs 1.3
import utils 1.0 import utils 1.0
import "../../../../shared" import "../../../../shared/controls"
import "../../../../shared/panels"
import "../../../../shared/status"
import StatusQ.Core 0.1 import StatusQ.Core 0.1
import StatusQ.Core.Theme 0.1 import StatusQ.Core.Theme 0.1
@ -93,12 +90,12 @@ StatusModal {
height: parent.height height: parent.height
anchors.top: parent.top anchors.top: parent.top
anchors.topMargin: 11 anchors.topMargin: 11
StyledText { StatusBaseText {
id: inputLabel id: inputLabel
text: "Emoji" text: "Emoji"
font.weight: Font.Medium font.weight: Font.Medium
font.pixelSize: 13 font.pixelSize: 13
color: Style.current.textColor color: Theme.palette.directColor1
} }
Rectangle { Rectangle {
width: parent.width width: parent.width

View File

@ -2,6 +2,9 @@ import QtQuick 2.13
import QtGraphicalEffects 1.13 import QtGraphicalEffects 1.13
import utils 1.0 import utils 1.0
import StatusQ.Controls 0.1
import "../../../../shared" import "../../../../shared"
import "../../../../shared/popups" import "../../../../shared/popups"
import "../../../../shared/panels" import "../../../../shared/panels"