Enable RNode in connectivity settings

This commit is contained in:
Mark Qvist 2022-10-11 14:21:32 +02:00
parent bfe3fcba75
commit d1ecd0670b
1 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,7 @@
__debug_build__ = False # TODO: Reset
__debug_build__ = True
__disable_shaders__ = True __disable_shaders__ = True
__version__ = "0.2.2" __version__ = "0.2.3"
__variant__ = "beta" __variant__ = "beta"
import sys import sys
@ -454,7 +455,6 @@ class SidebandApp(MDApp):
yes_button = MDRectangleFlatButton(text="OK",font_size=sp(18)) yes_button = MDRectangleFlatButton(text="OK",font_size=sp(18))
dialog = MDDialog( dialog = MDDialog(
title="Announce Sent", title="Announce Sent",
text="Your LXMF address has been announced on all available interfaces", text="Your LXMF address has been announced on all available interfaces",
@ -1017,6 +1017,9 @@ class SidebandApp(MDApp):
self.sideband.config["connect_i2p_b32"] = self.root.ids.connectivity_i2p_b32.text self.sideband.config["connect_i2p_b32"] = self.root.ids.connectivity_i2p_b32.text
self.sideband.config["connect_i2p_ifac_netname"] = self.root.ids.connectivity_i2p_ifac_netname.text self.sideband.config["connect_i2p_ifac_netname"] = self.root.ids.connectivity_i2p_ifac_netname.text
self.sideband.config["connect_i2p_ifac_passphrase"] = self.root.ids.connectivity_i2p_ifac_passphrase.text self.sideband.config["connect_i2p_ifac_passphrase"] = self.root.ids.connectivity_i2p_ifac_passphrase.text
self.sideband.config["connect_rnode"] = self.root.ids.connectivity_use_rnode.active
self.sideband.config["connect_rnode_ifac_netname"] = self.root.ids.connectivity_rnode_ifac_netname.text
self.sideband.config["connect_rnode_ifac_passphrase"] = self.root.ids.connectivity_rnode_ifac_passphrase.text
con_collapse_local(collapse=not self.root.ids.connectivity_use_local.active) con_collapse_local(collapse=not self.root.ids.connectivity_use_local.active)
con_collapse_tcp(collapse=not self.root.ids.connectivity_use_tcp.active) con_collapse_tcp(collapse=not self.root.ids.connectivity_use_tcp.active)