lightning: remove hub based approach, port qt gui to lnbase
This commit is contained in:
@@ -140,11 +140,6 @@ class ElectrumGui(Logger):
|
||||
# the OS/window manager/etc might set *a dark theme*.
|
||||
# Hence, try to choose colors accordingly:
|
||||
ColorScheme.update_from_widget(QWidget(), force_dark=use_dark_theme)
|
||||
self.lightning = LightningUI(self.set_console_and_return_lightning)
|
||||
|
||||
def set_console_and_return_lightning(self):
|
||||
self.windows[0].wallet.network.lightningrpc.setConsole(self.windows[0].console)
|
||||
return self.windows[0].wallet.network.lightningrpc
|
||||
|
||||
def build_tray_menu(self):
|
||||
# Avoid immediate GC of old menu when window closed via its action
|
||||
|
||||
Reference in New Issue
Block a user