From f727fa09cd18bb5597094131f106c88ddcdd2ab3 Mon Sep 17 00:00:00 2001 From: Casper Rogild Storm <2248455+casperstorm@users.noreply.github.com> Date: Tue, 29 Nov 2022 11:52:52 +0100 Subject: Correctly pass accessory content. --- native/src/widget/pick_list.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'native/src/widget') 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( font: &Renderer::Font, placeholder: Option<&str>, selected: Option<&T>, + accessory_content: &AccessoryContent, style: &::Style, ) where Renderer: text::Renderer, -- cgit