Initialize kivy_state obj inside init in mpybit

This commit is contained in:
shekhar-cis 2022-05-05 16:05:14 +05:30
parent a6823275bd
commit 96d80a008a
Signed by untrusted user: shekhar-cis
GPG Key ID: F4F00AB04E83F9A7

View File

@ -11,7 +11,10 @@ from pybitmessage.bitmessagekivy.kivy_state import KivyStateVariables
class NavigateApp(App): class NavigateApp(App):
"""Navigation Layout of class""" """Navigation Layout of class"""
kivy_state_obj = KivyStateVariables()
def __init__(self):
super(NavigateApp, self).__init__()
self.kivy_state_obj = KivyStateVariables()
def build(self): def build(self):
"""Method builds the widget""" """Method builds the widget"""