Use Compound icons within the user indicators.

This commit is contained in:
Stefan Ceriu
2026-05-25 20:35:48 +03:00
parent c9317547f8
commit da9eda80cd
25 changed files with 39 additions and 37 deletions
@@ -7,7 +7,9 @@
//
import Combine
import Compound
import Foundation
import SwiftUI
enum UserIndicatorType: Equatable {
case toast(progress: UserIndicator.Progress?)
@@ -40,7 +42,7 @@ struct UserIndicator: Equatable, Identifiable {
var type: UserIndicatorType = .toast
var title: String
var message: String?
var iconName: String?
var icon: KeyPath<CompoundIcons, Image>?
var persistent = false
// MARK: - Associated values from the type