network: Start adding simplex to prepare.py.

Group link must still be specified.
This commit is contained in:
tecnovert
2025-06-14 00:10:48 +02:00
parent aa9b1c0eb9
commit ff149e988c
6 changed files with 273 additions and 63 deletions

View File

@@ -1144,6 +1144,8 @@ class BasicSwap(BaseApp, UIApp):
network_config_list = [{"type": "smsg", "enabled": True}]
for network in network_config_list:
if network.get("enabled", True) is False:
continue
if network["type"] == "smsg":
self.active_networks.append({"type": "smsg"})
elif network["type"] == "simplex":