Fix clippy

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
This commit is contained in:
Danilo Leal 2025-08-25 14:43:54 -03:00
parent e14238728a
commit e773919250

View file

@ -2012,7 +2012,7 @@ impl AcpThreadView {
.label_size(LabelSize::Small)
.color(Color::Muted)
.truncate(true)
.when(!is_file.is_some(), |this| {
.when(is_file.is_none(), |this| {
this.icon(IconName::ArrowUpRight)
.icon_size(IconSize::XSmall)
.icon_color(Color::Muted)