mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +00:00
parent
e3e99c6a48
commit
ac7b322ee7
@ -17,7 +17,6 @@ ColumnLayout {
|
||||
property alias amountText: amountInput.text
|
||||
property alias amount: amountInput.amount
|
||||
readonly property bool amountValid: amountInput.valid && amountInput.text.length > 0
|
||||
property var locale
|
||||
|
||||
signal pickerClicked
|
||||
|
||||
@ -67,7 +66,5 @@ ColumnLayout {
|
||||
Layout.topMargin: 8
|
||||
|
||||
allowDecimals: false
|
||||
|
||||
locale: root.locale
|
||||
}
|
||||
}
|
||||
|
@ -266,7 +266,6 @@ StatusDropdown {
|
||||
tokenName: d.defaultTokenNameText
|
||||
amountText: d.tokenAmountText
|
||||
onAmountTextChanged: d.tokenAmountText = amountText
|
||||
locale: root.store.locale
|
||||
|
||||
readonly property real effectiveAmount: amountValid ? amount : 0
|
||||
onEffectiveAmountChanged: root.tokenAmount = effectiveAmount
|
||||
@ -319,7 +318,6 @@ StatusDropdown {
|
||||
collectibleName: d.defaultCollectibleNameText
|
||||
amountText: d.collectibleAmountText
|
||||
onAmountTextChanged: d.collectibleAmountText = amountText
|
||||
locale: root.store.locale
|
||||
|
||||
readonly property real effectiveAmount: amountValid ? amount : 0
|
||||
onEffectiveAmountChanged: root.collectibleAmount = effectiveAmount
|
||||
|
@ -15,7 +15,6 @@ ColumnLayout {
|
||||
property alias amountText: amountInput.text
|
||||
property alias amount: amountInput.amount
|
||||
readonly property bool amountValid: amountInput.valid && amountInput.text.length > 0
|
||||
property var locale
|
||||
|
||||
signal pickerClicked
|
||||
|
||||
@ -44,7 +43,5 @@ ColumnLayout {
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.topMargin: 8
|
||||
|
||||
locale: root.locale
|
||||
}
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ Input {
|
||||
id: root
|
||||
|
||||
property int maximumLength: 10
|
||||
property var locale
|
||||
property var locale: Qt.locale()
|
||||
|
||||
readonly property alias amount: d.amount
|
||||
readonly property bool valid: validationError.length === 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user