app/components/coco/messaging/snackbar/snackbar.rb in coveragebook_components-0.13.0 vs app/components/coco/messaging/snackbar/snackbar.rb in coveragebook_components-0.13.1
- old
+ new
@@ -25,10 +25,10 @@
if !icon? && theme.present?
icon_opts = get_option_group(:icon).values
icon_name = THEME_ICONS[theme]
spin = theme == :pending
- icon(**icon_opts, name: icon_name, spin: spin)
+ with_icon(**icon_opts, name: icon_name, spin: spin)
end
end
end
end