Skip to content

Commit

Permalink
Add coin icon to build matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
walkjivefly committed Jul 28, 2020
1 parent a312e89 commit 27d0e14
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
Binary file added electrum/gui/icons/Bitcoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
2 changes: 1 addition & 1 deletion electrum/gui/qt/invoice_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def update(self):
icon_name = 'lightning.png'
else:
key = item.id
icon_name = 'bitcoin.png'
icon_name = '{{buildmatrix_coin_name_normal}}.png'
if item.bip70:
icon_name = 'seal.png'
status = self.parent.wallet.get_invoice_status(item)
Expand Down
2 changes: 1 addition & 1 deletion electrum/gui/qt/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ def on_expiry(i):
self.clear_invoice_button = QPushButton(_('Clear'))
self.clear_invoice_button.clicked.connect(self.clear_receive_tab)
self.create_invoice_button = QPushButton(_('Request'))
self.create_invoice_button.setIcon(read_QIcon("bitcoin.png"))
self.create_invoice_button.setIcon(read_QIcon("{{buildmatrix_coin_name_normal}}.png"))
self.create_invoice_button.setToolTip('Create on-chain request')
self.create_invoice_button.clicked.connect(lambda: self.create_invoice(False))
self.receive_buttons = buttons = QHBoxLayout()
Expand Down
2 changes: 1 addition & 1 deletion electrum/gui/qt/request_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def update(self):
tooltip = 'lightning request'
else:
key = req.get_address()
icon = read_QIcon("bitcoin.png")
icon = read_QIcon("{{buildmatrix_coin_name_normal}}.png")
tooltip = 'onchain request'
items = [QStandardItem(e) for e in labels]
self.set_editability(items)
Expand Down

0 comments on commit 27d0e14

Please sign in to comment.