app: "quit" doesn't make sense in android or web

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2024-04-02 17:40:33 -04:00
parent 6d88cd2ced
commit c4767b5b56
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED

View file

@ -26,15 +26,8 @@ class HelloWorld(toga.App):
style=Pack(padding=5)
)
quit_button = toga.Button(
"Quit",
on_press=self.quit,
style=Pack(padding=5)
)
main_box.add(name_box)
main_box.add(hello_button)
main_box.add(quit_button)
self.main_window = toga.MainWindow(title=self.formal_name)
self.main_window.content = main_box