'My Kivy app theme changes when I load it from another python file

my problem is ocurring when I am loading a kivy app from another file. When I run just the app alone, the theme is normal. But when I load it from this function, It looks weird. Basically, the theme changes.

cl = DemoApp() 
        

        appky = [Bloky.Bloky(),Seminare.VyberSeminaru(),Maturita.VyberMaturity()]

        for i in range(len(cl.cplan)):
            if cl.cplan[i] == "ANO":
                app = appky[i]
                app.run()
                break  
        

I am thankful for every solution.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source