refactor: consistency in widget creation
This commit is contained in:
parent
d068d110e2
commit
8589c0c666
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ impl State {
|
|||
fn view(&self) -> Element<'_, Message, Theme, Renderer> {
|
||||
widget::column([
|
||||
widget::row([
|
||||
widget::Canvas::new(&self.total_cpu_graph)
|
||||
widget::canvas(&self.total_cpu_graph)
|
||||
.width(Length::Fill)
|
||||
.height(Length::Fill)
|
||||
.into(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue