Skip to content

Commit

Permalink
Merge pull request #2168 from KomodoPlatform/no_activation_pop_up_for…
Browse files Browse the repository at this point in the history
…_zhtlc

force zhtlc activation the good old fashioned way
  • Loading branch information
smk762 committed Dec 9, 2022
2 parents 6242841 + 583566b commit ae9680b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ Item

contentItem: DexLabelUnlinked
{
text_value: qsTr(" %1 is not enabled - Do you want to enable it to be able to select %2 best orders ?<br><a href='#'>Yes</a> - <a href='#no'>No</a>").arg(coin).arg(coin)
text_value: !General.isZhtlc(coin) ?
qsTr(" %1 is not enabled - Do you want to enable it to be able to select %2 best orders ?<br><a href='#'>Yes</a> - <a href='#no'>No</a>").arg(coin).arg(coin) :
qsTr(" %1 is not enabled - Please enable it through the coin activation menu").arg(coin)
wrapMode: DefaultText.Wrap
width: 250
onLinkActivated:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,9 @@ DexListView

contentItem: DexLabelUnlinked
{
text_value: qsTr(" %1 is not enabled - Do you want to enable it to be able to select %2 best orders ?<br><a href='#'>Yes</a> - <a href='#no'>No</a>").arg(coin).arg(coin)
text_value: !General.isZhtlc(coin) ?
qsTr(" %1 is not enabled - Do you want to enable it to be able to select %2 best orders ?<br><a href='#'>Yes</a> - <a href='#no'>No</a>").arg(coin).arg(coin) :
qsTr(" %1 is not enabled - Please enable it through the coin activation menu").arg(coin)
wrapMode: DexLabel.Wrap
width: 250
onLinkActivated:
Expand Down

0 comments on commit ae9680b

Please sign in to comment.