Skip to content

Commit

Permalink
refactor(libcosmic): icon update changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mmstick committed Sep 13, 2023
1 parent 40bae15 commit 71116b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/widget/button.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ where
}

fn diff(&self, tree: &mut Tree) {
tree.diff_children(std::slice::from_ref(&self.content))
tree.diff_children(std::slice::from_ref(&self.content));
}

fn width(&self) -> Length {
Expand Down
2 changes: 1 addition & 1 deletion src/widget/cards.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ where
}
show_less_children.push(text(show_less_label).width(Length::Shrink).into());
show_less_children.push(
icon::handle::from_name("pan-up-symbolic")
icon::from_name("pan-up-symbolic")
.size(ICON_SIZE)
.icon()
.into(),
Expand Down

0 comments on commit 71116b2

Please sign in to comment.