diff options
author | 2022-11-29 11:52:52 +0100 | |
---|---|---|
committer | 2022-11-29 11:52:52 +0100 | |
commit | f727fa09cd18bb5597094131f106c88ddcdd2ab3 (patch) | |
tree | d52ec70c1d69398203c42ee461f1e86d78cc0814 | |
parent | 0974e9e86523174e7a07d992b48d681aa07d4a7e (diff) | |
download | iced-f727fa09cd18bb5597094131f106c88ddcdd2ab3.tar.gz iced-f727fa09cd18bb5597094131f106c88ddcdd2ab3.tar.bz2 iced-f727fa09cd18bb5597094131f106c88ddcdd2ab3.zip |
Correctly pass accessory content.
Diffstat (limited to '')
-rw-r--r-- | native/src/widget/pick_list.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/native/src/widget/pick_list.rs b/native/src/widget/pick_list.rs index 9fc92496..31f7bf5b 100644 --- a/native/src/widget/pick_list.rs +++ b/native/src/widget/pick_list.rs @@ -279,6 +279,7 @@ where &self.font, self.placeholder.as_deref(), self.selected.as_ref(), + &self.accessory_content, &self.style, ) } @@ -580,6 +581,7 @@ pub fn draw<T, Renderer>( font: &Renderer::Font, placeholder: Option<&str>, selected: Option<&T>, + accessory_content: &AccessoryContent<Renderer>, style: &<Renderer::Theme as StyleSheet>::Style, ) where Renderer: text::Renderer, |