ZandevOxford / zandev_textual_widgets

Custom widgets for Textual
MIT License
6 stars 1 forks source link

Fixed Issue (ValueError: SCREENS should contain a Screen type or callable, not an instance (got instance of Main for 'main')) #2

Closed NamanVer02 closed 2 days ago

NamanVer02 commented 2 days ago

The error mentioned in #1 occurs because the App class expects SCREENS to contain class types or callables that return screen instances, not instances of Screen themselves. Hence just passed the callables in the SCREEN dictionary.

However there is a new error, as in this picture. I am still trying to explore why this might be occurring.

image