Closed flukejones closed 2 months ago
error[E0624]: associated function `new` is private --> src/app.rs:300:29 | 300 | cosmic::widget::Button::new(content) | ^^^ private associated function | ::: /home/luke/.cargo/git/checkouts/libcosmic-b367e32ffc370f4f/7abcec759101/src/widget/button/widget.rs:62:5 | 62 | pub(super) fn new(content: impl Into<crate::Element<'a, Message>>) -> Self { | -------------------------------------------------------------------------- private associated function defined here
I think it needs to be cosmic::widget::button(content)?
cosmic::widget::button(content)
I think it needs to be
cosmic::widget::button(content)
?