Skip to content

Commit 7e3a466

Browse files
novalis78claude
andcommitted
chore: version 4.4.1 + info links to academy and live order book
- Version bump to 4.4.1 (Auto-Maker now beta, was alpha in 4.4.0) - Added "Learn more" link to marscoin.org/academy/atomic-swaps and "Live order book" link to explore.marscoin.org/atomic-swaps in the Atomic Swap tab header Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 31d9fe2 commit 7e3a466

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

electrum_mars/plugins/atomic_swap/qt.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,24 @@ def _setup_ui(self):
128128
header.setFont(QFont('', 14, QFont.Bold))
129129
layout.addWidget(header)
130130

131+
desc_layout = QHBoxLayout()
131132
desc = QLabel('No exchange needed. Trustless settlement via hash time-locked contracts.')
132133
desc.setStyleSheet("color: gray;")
133-
layout.addWidget(desc)
134+
desc_layout.addWidget(desc)
135+
136+
from PyQt5.QtWidgets import QLabel as _QLabel
137+
info_link = _QLabel(
138+
'<a href="https://www.marscoin.org/academy/atomic-swaps" '
139+
'style="color: #c0392b; text-decoration: none;">\u2139 Learn more</a>'
140+
' &nbsp;|&nbsp; '
141+
'<a href="https://explore.marscoin.org/atomic-swaps/" '
142+
'style="color: #c0392b; text-decoration: none;">\U0001f4ca Live order book</a>'
143+
)
144+
info_link.setOpenExternalLinks(True)
145+
info_link.setStyleSheet("font-size: 12px;")
146+
desc_layout.addWidget(info_link)
147+
desc_layout.addStretch()
148+
layout.addLayout(desc_layout)
134149

135150
# Action buttons — use QGridLayout to guarantee equal column widths
136151
from PyQt5.QtWidgets import QGridLayout

electrum_mars/version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ELECTRUM_VERSION = '4.4.0-mars' # version of the client package
2-
APK_VERSION = '4.4.0' # read by buildozer.spec
1+
ELECTRUM_VERSION = '4.4.1' # version of the client package
2+
APK_VERSION = '4.4.1' # read by buildozer.spec
33

44
PROTOCOL_VERSION = '1.4' # protocol version requested
55

0 commit comments

Comments
 (0)