diff --git a/Modules/MicX/Mic/src/Mic.K.swift b/Modules/MicX/Mic/src/Mic.K.swift index f37112f..4184cd9 100644 --- a/Modules/MicX/Mic/src/Mic.K.swift +++ b/Modules/MicX/Mic/src/Mic.K.swift @@ -1,5 +1,6 @@ public extension Mic { enum K { public static let isActive = "Mic.isActive" + public static let MI = "Mic.ModelItem" } } diff --git a/Modules/MicX/MicItem/src/MicItem.V.swift b/Modules/MicX/MicItem/src/MicItem.V.swift index c10f215..64b140a 100644 --- a/Modules/MicX/MicItem/src/MicItem.V.swift +++ b/Modules/MicX/MicItem/src/MicItem.V.swift @@ -5,9 +5,13 @@ extension MicItem { public struct V: View { var id: String? @StateObject var isActive = BusUI.Value(Mic.K.isActive, false) + let processors: [Any] public init(_ id: String? = nil) { self.id = id + self.processors = [ + Bus.Sync(shouldResetActivity, Mic.K.MI, Mic.K.isActive), + ] } public var body: some View {