Михаил Капелько 10 月之前
父節點
當前提交
061548b8b4
共有 2 個檔案被更改,包括 5 行新增0 行删除
  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 查看文件

@@ -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 查看文件

@@ -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…
取消
儲存