mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Use Compound icons within the user indicators.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user