From cfb378ecf455ff70872c6be26888e8bb9d9b5c1d Mon Sep 17 00:00:00 2001 From: shekhar-cis Date: Tue, 13 Sep 2022 21:29:24 +0530 Subject: [PATCH] Fixed Login screen, now redirect to myaddress screen --- src/bitmessagekivy/baseclass/login.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/bitmessagekivy/baseclass/login.py b/src/bitmessagekivy/baseclass/login.py index c9143787..09428d2f 100644 --- a/src/bitmessagekivy/baseclass/login.py +++ b/src/bitmessagekivy/baseclass/login.py @@ -71,11 +71,9 @@ class Random(Screen): def reset_address_spinner(self): """reseting spinner address and UI""" 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.sc3.children[1].ids.identity_dropdown.values = [] self.manager.parent.ids.content_drawer.ids.identity_dropdown.values = addresses - self.manager.parent.ids.sc3.children[1].ids.identity_dropdown.values = addresses @staticmethod def add_validation(instance):