Skip to content

Commit

Permalink
Fixed warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam-Cosner committed Jan 11, 2025
1 parent 1e28f39 commit d4bce76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/widget/table/widget/compact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
3 changes: 1 addition & 2 deletions src/widget/table/widget/standard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d4bce76

Please sign in to comment.