Add margin to picker in contacts popover

This commit is contained in:
Antonio Scandurra 2022-10-10 16:05:09 +02:00
parent afaacba41f
commit 5f9cedad23
2 changed files with 10 additions and 2 deletions

View file

@ -121,7 +121,11 @@ impl PickerDelegate for ContactFinder {
} else {
&theme.contact_finder.contact_button
};
let style = theme.picker.item.style_for(mouse_state, selected);
let style = theme
.contact_finder
.picker
.item
.style_for(mouse_state, selected);
Flex::row()
.with_children(user.avatar.clone().map(|avatar| {
Image::new(avatar)