Simplify update signature in text_input
This commit is contained in:
parent
891b917576
commit
54c9815b7b
2 changed files with 3 additions and 3 deletions
|
|
@ -227,7 +227,7 @@ where
|
|||
&self.font,
|
||||
self.is_secure,
|
||||
self.on_change.as_ref(),
|
||||
&self.on_paste,
|
||||
self.on_paste.as_deref(),
|
||||
&self.on_submit,
|
||||
|| tree.state.downcast_mut::<text_input::State>(),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue