mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-10 04:51:37 +00:00
Updates: handle RestartToUpdate response
This commit is contained in:
1 file changed
+3
@@ -113,6 +113,9 @@ pub(crate) fn dialog(app: &mut PdfCraftApp, ctx: &egui::Context) {
|
||||
app.updates.updater.dismiss_status();
|
||||
}
|
||||
CheckResultResponse::CheckAgain => app.updates.check_requested = true,
|
||||
CheckResultResponse::RestartToUpdate => {
|
||||
app.updates.updater.restart_to_update();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user