libcosmic updates
This commit is contained in:
parent
9c62f19e4b
commit
0491c4baaa
91 changed files with 3550 additions and 2300 deletions
|
|
@ -64,7 +64,7 @@ impl<'a, Message: 'a> CollectionWidget<'a, Message> for crate::widget::Column<'a
|
|||
where
|
||||
E: Into<crate::Element<'a, Message>>,
|
||||
{
|
||||
self.extend(other.drain(..))
|
||||
self.extend(other.drain(..).map(Into::into))
|
||||
}
|
||||
|
||||
fn push(self, element: impl Into<crate::Element<'a, Message>>) -> Self {
|
||||
|
|
@ -77,7 +77,7 @@ impl<'a, Message: 'a> CollectionWidget<'a, Message> for crate::widget::Row<'a, M
|
|||
where
|
||||
E: Into<crate::Element<'a, Message>>,
|
||||
{
|
||||
self.extend(other.drain(..))
|
||||
self.extend(other.drain(..).map(Into::into))
|
||||
}
|
||||
|
||||
fn push(self, element: impl Into<crate::Element<'a, Message>>) -> Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue