Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the icon for On Chain button #15

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added electrum/gui/icons/lbrycredits.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion electrum/gui/qt/invoice_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def update(self):
icon_name = 'lightning.png'
elif invoice_type == PR_TYPE_ONCHAIN:
key = item['id']
icon_name = 'bitcoin.png'
icon_name = 'lbrycredits.png'
if item.get('bip70'):
icon_name = 'seal.png'
else:
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 @@ -1005,7 +1005,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(_('On-chain'))
self.create_invoice_button.setIcon(read_QIcon("bitcoin.png"))
self.create_invoice_button.setIcon(read_QIcon("lbrycredits.png"))
self.create_invoice_button.clicked.connect(lambda: self.create_invoice(False))
self.receive_buttons = buttons = QHBoxLayout()
buttons.addStretch(1)
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 @@ -128,7 +128,7 @@ def update(self):
tooltip = 'lightning request'
elif request_type == PR_TYPE_ONCHAIN:
key = req['address']
icon = read_QIcon("bitcoin.png")
icon = read_QIcon("lbrycredits.png")
tooltip = 'onchain request'
items = [QStandardItem(e) for e in labels]
self.set_editability(items)
Expand Down