mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Swap final test to a screen type rather than instance
See https://github.com/Textualize/textual/pull/1346#discussion_r1049678092
This commit is contained in:
@@ -587,7 +587,7 @@ class PriorityOverlapApp(AppKeyRecorder):
|
||||
Binding("f", "record('app_f')", "f", priority=False),
|
||||
]
|
||||
|
||||
SCREENS = {"main": PriorityOverlapScreen()}
|
||||
SCREENS = {"main": PriorityOverlapScreen}
|
||||
|
||||
def on_mount(self) -> None:
|
||||
self.push_screen("main")
|
||||
|
||||
Reference in New Issue
Block a user