Pass IDs to IconButton
s instead of generating them
This commit is contained in:
parent
7719ed0d6c
commit
47f979d457
11 changed files with 40 additions and 39 deletions
|
@ -45,8 +45,8 @@ impl<S: 'static + Send + Sync> ChatPanel<S> {
|
|||
.flex()
|
||||
.items_center()
|
||||
.gap_px()
|
||||
.child(IconButton::new(Icon::File))
|
||||
.child(IconButton::new(Icon::AudioOn)),
|
||||
.child(IconButton::new(Icon::File, "file"))
|
||||
.child(IconButton::new(Icon::AudioOn, "audio_on")),
|
||||
),
|
||||
)
|
||||
.child(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue