Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1014: Hide the donateLayout as it is currently disabled.

6ff1a65622 Hide the donateLayout as it is currently disabled. (Wukong)

Pull request description:

  The current Coinjoins tab has a disabled donation checkbox:
  ![image](https://user-images.githubusercontent.com/87334822/132644961-225b303c-be4b-4642-ae9e-be618d6003b7.png)

  When a user click the More button, it shows the following message:
  ![image](https://user-images.githubusercontent.com/87334822/132645137-de9a9a1c-bbf5-4937-9fe6-2c27e665ff31.png)

  I think it's not a great idea to show the donation feature while it's disabled, so I propose in this PR, that we hide this section entirely until we re-enabled the donation feature.

ACKs for top commit:
  kristapsk:
    utACK 6ff1a65622

Tree-SHA512: b4a320667b67ff471a17382988cf53bd9f1b56e896adf108d0f244424249d0fb742c85003fabd478aeb22e6df1ea800473b82bb164c8f6002aceee7226dad6a4
master
Kristaps Kaupe 4 years ago
parent
commit
aaebb1a506
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 5
      scripts/joinmarket-qt.py

5
scripts/joinmarket-qt.py

@ -555,8 +555,9 @@ class SpendTab(QWidget):
innerTopLayout.setSpacing(4) innerTopLayout.setSpacing(4)
self.single_join_tab.setLayout(innerTopLayout) self.single_join_tab.setLayout(innerTopLayout)
donateLayout = self.getDonateLayout() #Temporarily disabled
innerTopLayout.addLayout(donateLayout, 0, 0, 1, 2) # donateLayout = self.getDonateLayout()
# innerTopLayout.addLayout(donateLayout, 0, 0, 1, 2)
recipientLabel = QLabel('Recipient address / URI') recipientLabel = QLabel('Recipient address / URI')
recipientLabel.setToolTip( recipientLabel.setToolTip(

Loading…
Cancel
Save