quit button functionnal now

This commit is contained in:
rick 2025-01-31 17:27:20 +01:00
commit d7749222f0

View file

@ -61,7 +61,7 @@ impl eframe::App for MyApp {
ui.label("Drag-and-drop files onto the window!");
if ui.button("Quitter").clicked() {
println!("Soon");
ctx.send_viewport_cmd(egui::ViewportCommand::Close);
}
let tweets = self.tweets.clone();