Fix after cleanup

This commit is contained in:
IQuant 2024-08-23 00:36:26 +03:00
parent 119376e486
commit 140aae3598

View file

@ -2,7 +2,7 @@ use std::{
env,
error::Error,
fs::{self, File},
io::{self, BufReader},
io::BufReader,
mem,
path::{Path, PathBuf},
};
@ -300,12 +300,6 @@ impl Modmanager {
}
}
}
State::Error(err) => {
ui.label(format!("Encountered an error: {}", err));
if ui.button(tr("button_retry")).clicked() {
self.state = State::JustStarted;
}
}
State::EyreErrorReport(err) => {
ui.label(format!("Encountered an error: \n {:?}", err));
if ui.button(tr("button_retry")).clicked() {