gui: use Display instead Debug to print ExportModal errors

This commit is contained in:
pythcoiner 2025-03-18 18:38:51 +01:00
parent 1abe503431
commit df8d98b275
No known key found for this signature in database
GPG Key ID: C1048AEEDF303B88

View File

@ -33,7 +33,7 @@ pub fn export_modal<'a, Message: From<ImportExportMessage> + Clone + 'a>(
.map(Container::new);
let msg = if let Some(error) = error {
format!("{:?}", error)
format!("{}", error)
} else {
match state {
ImportExportState::Init => "".to_string(),