mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-10 18:34:14 +00:00
remove extra macros
This commit is contained in:
parent
70e0320067
commit
de63ffea10
@ -813,12 +813,12 @@ impl Page {
|
|||||||
// Define common data
|
// Define common data
|
||||||
let status = Status::Failure;
|
let status = Status::Failure;
|
||||||
let title = gformat!("Oops");
|
let title = gformat!("Oops");
|
||||||
let description = gformat!("Connection error: {}", reason.message());
|
let description = reason.message();
|
||||||
|
|
||||||
// Update widget
|
// Update widget
|
||||||
content.set_status_failure(
|
content.set_status_failure(
|
||||||
Some(title.as_str()),
|
Some(title.as_str()),
|
||||||
Some(description.as_str()),
|
Some(description),
|
||||||
None
|
None
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user