mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-22 20:40:18 +00:00
fix: apply correct theme and use correct model to access functions
This commit is contained in:
parent
6ffa4ef4fa
commit
a1dbf306e4
@ -207,6 +207,7 @@ Item {
|
||||
anchors.topMargin: 24
|
||||
border.width: 1
|
||||
border.color: Style.current.border
|
||||
color: Style.current.background
|
||||
radius: 50
|
||||
height: 20
|
||||
width: 350
|
||||
@ -220,6 +221,7 @@ Item {
|
||||
font.weight: Font.Bold
|
||||
font.pixelSize: 12
|
||||
anchors.leftMargin: Style.current.padding
|
||||
color: Style.current.textColor
|
||||
}
|
||||
|
||||
StyledText {
|
||||
|
@ -315,12 +315,12 @@ Item {
|
||||
anchors.bottomMargin: Style.current.padding
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: Style.current.padding
|
||||
label: parseFloat(walletModel.getSNTBalance()) < 10 ?
|
||||
label: parseFloat(utilsModel.getSNTBalance()) < 10 ?
|
||||
//% "Not enough SNT"
|
||||
qsTrId("not-enough-snt") :
|
||||
//% "Register"
|
||||
qsTrId("ens-register")
|
||||
disabled: parseFloat(walletModel.getSNTBalance()) < 10 || !termsAndConditionsCheckbox.checked
|
||||
disabled: parseFloat(utilsModel.getSNTBalance()) < 10 || !termsAndConditionsCheckbox.checked
|
||||
onClicked: transactionDialog.open()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user