This commit is contained in:
2025-11-05 00:17:12 +08:00
parent 4eaff18685
commit b63813f84d
8 changed files with 70 additions and 66 deletions

View File

@@ -19,22 +19,13 @@ class HeurAMSApp(App):
"dashboard": DashboardScreen,
"nucleon_creator": NucleonCreatorScreen,
"precache_all": PrecachingScreen,
"preparation": PreparationScreen, # type: ignore
"memscreen": MemScreen, # type: ignore
}
def compose(self) -> ComposeResult:
yield Header(show_clock = True)
yield Footer(show_command_palette = True)
def on_mount(self) -> None:
self.push_screen("dashboard")
def on_button_pressed(self, event: Button.Pressed) -> None:
self.exit(event.button.id)
if __name__ == "__main__":
app = HeurAMSApp()
app.run()
app = HeurAMSApp()
app.run()