mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-20 00:46:34 +00:00
Add dialog_ok if the user declines the update (#609)
* Add dialog_ok if the user declines the update * Remove linebreak which doesn't actually appear on console (?) * rustfmt
This commit is contained in:
parent
1c00d2afe9
commit
8711ce6ca0
1 changed files with 6 additions and 0 deletions
|
@ -208,6 +208,12 @@ pub fn perform_version_check() {
|
|||
}
|
||||
} else {
|
||||
info!("User declined the update.");
|
||||
dialog::dialog_ok(
|
||||
"This update has been declined.\n\n\
|
||||
If you'd like to disable update checking in the future,\
|
||||
please adjust the 'Auto-Update' setting in the Modpack menu."
|
||||
.to_string(),
|
||||
);
|
||||
}
|
||||
}
|
||||
Err(e) => {
|
||||
|
|
Loading…
Reference in a new issue