Update context_drawer.rs
This commit is contained in:
parent
2fbc31ed0d
commit
e043b9d9b9
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ impl<'a, Message: Clone + 'static> ContextDrawer<'a, Message> {
|
|||
mut self,
|
||||
header_actions: impl IntoIterator<Item = Element<'a, Message>>,
|
||||
) -> Self {
|
||||
self.header_actions = header_actions.into_iter().map(|a| a.into()).collect();
|
||||
self.header_actions = header_actions.into_iter().collect();
|
||||
self
|
||||
}
|
||||
/// Non-scrolling elements placed below the context drawer title row
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue