Fixed warnings

This commit is contained in:
Adam Cosner 2025-01-10 22:50:05 -08:00
parent 1e28f39771
commit d4bce76213
2 changed files with 3 additions and 3 deletions

View file

@ -74,7 +74,8 @@ where
.spacing(space_xxxs)
.align_y(Alignment::Center)
.push_maybe(
item.get_icon(Category::default()).map(|icon| icon.size(48)),
item.get_icon(Category::default())
.map(|icon| icon.size(val.icon_size)),
)
.push(
widget::column()

View file

@ -6,12 +6,11 @@ use crate::widget::table::model::{
Entity, Model,
};
use crate::{
ext::CollectionWidget,
theme,
widget::{self, container, divider, menu},
Apply, Element,
};
use iced::{Alignment, Border, Length, Padding};
use iced::{Alignment, Border, Padding};
// THIS IS A PLACEHOLDER UNTIL A MORE SOPHISTICATED WIDGET CAN BE DEVELOPED