Михаил Капелько 11 months ago
parent
commit
061548b8b4
2 changed files with 5 additions and 0 deletions
  1. +1
    -0
      Modules/MicX/Mic/src/Mic.K.swift
  2. +4
    -0
      Modules/MicX/MicItem/src/MicItem.V.swift

+ 1
- 0
Modules/MicX/Mic/src/Mic.K.swift View File

@@ -1,5 +1,6 @@
public extension Mic {
enum K {
public static let isActive = "Mic.isActive"
public static let MI = "Mic.ModelItem"
}
}

+ 4
- 0
Modules/MicX/MicItem/src/MicItem.V.swift View File

@@ -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 {


Loading…
Cancel
Save