Fix spinner in activity indicator (#54977)

Quick fix for a little regression I introduced in
https://github.com/zed-industries/zed/pull/54791 accidentally removing
the rotating spinner icon in the activity indicator.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal authored and GitHub committed 2026-04-27 08:33:40 +00:00
1 parent 47fb164f28
commit d64372cdec
1 file changed
+1 -7
@@ -729,13 +729,7 @@ impl Render for ActivityIndicator {
}
})
.label_size(LabelSize::Small)
.when(content.icon.is_some(), |this| {
this.start_icon(
Icon::new(IconName::LoadCircle)
.color(Color::Muted)
.size(IconSize::Small),
)
})
.loading(content.icon.is_some())
.map(|button| {
if truncate_content {
button.tooltip(Tooltip::text(content.message))