curses text UI now says Offline (rather than 'Not connected') when started in --offline mode; this matches the main Qt UI
This commit is contained in:
@@ -122,7 +122,9 @@ class ElectrumGui:
|
|||||||
|
|
||||||
|
|
||||||
def print_balance(self):
|
def print_balance(self):
|
||||||
if self.network and self.network.interface and self.network.interface.is_connected:
|
if not self.network:
|
||||||
|
msg = _("Offline")
|
||||||
|
elif self.network.interface and self.network.interface.is_connected:
|
||||||
if not self.wallet.up_to_date:
|
if not self.wallet.up_to_date:
|
||||||
msg = _("Synchronizing...")
|
msg = _("Synchronizing...")
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user