Fixed Login screen, now redirect to myaddress screen

This commit is contained in:
shekhar-cis 2022-09-13 21:29:24 +05:30
parent 7bbfdfc04d
commit cfb378ecf4
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7

View File

@ -71,11 +71,9 @@ class Random(Screen):
def reset_address_spinner(self): def reset_address_spinner(self):
"""reseting spinner address and UI""" """reseting spinner address and UI"""
addresses = [addr for addr in config.addresses() addresses = [addr for addr in config.addresses()
if config.get(str(addr), 'enabled') == 'true'] if config.getboolean(str(addr), 'enabled')]
self.manager.parent.ids.content_drawer.ids.identity_dropdown.values = [] self.manager.parent.ids.content_drawer.ids.identity_dropdown.values = []
self.manager.parent.ids.sc3.children[1].ids.identity_dropdown.values = []
self.manager.parent.ids.content_drawer.ids.identity_dropdown.values = addresses self.manager.parent.ids.content_drawer.ids.identity_dropdown.values = addresses
self.manager.parent.ids.sc3.children[1].ids.identity_dropdown.values = addresses
@staticmethod @staticmethod
def add_validation(instance): def add_validation(instance):