mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
remove extra lines
This commit is contained in:
parent
30776f1c11
commit
ee02ed7e0a
1 changed files with 3 additions and 7 deletions
|
|
@ -588,16 +588,15 @@ impl Page {
|
|||
// Update window components
|
||||
action_update.activate(Some(&id));
|
||||
}
|
||||
Err(reason) => { // Pixbuf::from_stream
|
||||
Err(reason) => {
|
||||
// Define common data
|
||||
let status = Status::Failure;
|
||||
let title = gformat!("Oops");
|
||||
let description = gformat!("{}", reason.message());
|
||||
|
||||
// Update widget
|
||||
content.set_status_failure(
|
||||
Some(title.as_str()),
|
||||
Some(description.as_str()),
|
||||
Some(reason.message()),
|
||||
None
|
||||
);
|
||||
|
||||
|
|
@ -605,7 +604,6 @@ impl Page {
|
|||
meta.replace(Meta {
|
||||
status: Some(status),
|
||||
title: Some(title),
|
||||
//description: Some(description),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -787,12 +785,11 @@ impl Page {
|
|||
// Define common data
|
||||
let status = Status::Failure;
|
||||
let title = gformat!("Oops");
|
||||
let description = gformat!("Request error: {}", reason.message());
|
||||
|
||||
// Update widget
|
||||
content.set_status_failure(
|
||||
Some(title.as_str()),
|
||||
Some(description.as_str()),
|
||||
Some(reason.message()),
|
||||
None
|
||||
);
|
||||
|
||||
|
|
@ -800,7 +797,6 @@ impl Page {
|
|||
meta.replace(Meta {
|
||||
status: Some(status),
|
||||
title: Some(title),
|
||||
//description: Some(description),
|
||||
});
|
||||
|
||||
// Update window
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue