File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
GraftMobileClient/resources Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ BaseScreen {
3333 }
3434 }
3535 onNetworkTypeChanged: {
36- addButton .enabled = GraftClient . networkType () === GraftClientTools . PublicExperimentalTestnet || GraftClientTools . PublicTestnet
37- quickDealButton .enabled = GraftClient .networkType () === GraftClientTools .PublicExperimentalTestnet || GraftClientTools .PublicTestnet
36+ addButton .enabled = true ;
37+ // quickDealButton.enabled = GraftClient.networkType() === GraftClientTools.PublicExperimentalTestnet || GraftClientTools.PublicTestnet
3838 }
3939 }
4040
@@ -111,7 +111,7 @@ BaseScreen {
111111 Layout .rightMargin : 15
112112 Layout .alignment : Qt .AlignBottom | Qt .AlignCenter
113113 text: qsTr (" Checkout" )
114- enabled: GraftClient . networkType () === GraftClientTools . PublicExperimentalTestnet || GraftClientTools . PublicTestnet
114+ enabled: true
115115 onClicked: {
116116 if (ProductModel .totalCost () > 0 ) {
117117 disableScreen ()
@@ -132,7 +132,7 @@ BaseScreen {
132132 Layout .alignment : Qt .AlignBottom | Qt .AlignCenter
133133 text: qsTr (" QUICK DEAL" )
134134 Material .accent : ColorFactory .color (DesignFactory .CircleBackground )
135- enabled: GraftClient . networkType () === GraftClientTools . PublicExperimentalTestnet
135+ enabled: true
136136 onClicked: {
137137 disableScreen ()
138138 pushScreen .openQuickDealScreen ()
Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ BaseScreen {
3535 }
3636 }
3737 onNetworkTypeChanged: {
38- addButton .enabled = GraftClient .networkType () === GraftClientTools .PublicExperimentalTestnet
39- quickDealButton .enabled = GraftClient .networkType () === GraftClientTools .PublicExperimentalTestnet
38+ // addButton.enabled = GraftClient.networkType() === GraftClientTools.PublicExperimentalTestnet
39+ // quickDealButton.enabled = GraftClient.networkType() === GraftClientTools.PublicExperimentalTestnet
4040 }
4141 }
4242
@@ -104,7 +104,7 @@ BaseScreen {
104104 Layout .rightMargin : 15
105105 Layout .alignment : Qt .AlignBottom | Qt .AlignCenter
106106 text: qsTr (" Checkout" )
107- enabled: GraftClient . networkType () === GraftClientTools . PublicExperimentalTestnet || GraftClientTools . PublicTestnet
107+ enabled: true
108108 KeyNavigation .tab : quickDealButton .enabled ? null : addNewProduct
109109 onClicked: {
110110 if (ProductModel .totalCost () > 0 ) {
@@ -126,7 +126,7 @@ BaseScreen {
126126 Layout .alignment : Qt .AlignBottom | Qt .AlignCenter
127127 text: qsTr (" Quick Deal" )
128128 Material .accent : ColorFactory .color (DesignFactory .CircleBackground )
129- enabled: GraftClient . networkType () === GraftClientTools . PublicExperimentalTestnet
129+ enabled: true
130130 KeyNavigation .tab : addNewProduct
131131 onClicked: {
132132 disableScreen ()
You can’t perform that action at this time.
0 commit comments