diff --git a/Modules/MicX/MicItem/src/MicItem.V.swift b/Modules/MicX/MicItem/src/MicItem.V.swift index edb180a..134d470 100644 --- a/Modules/MicX/MicItem/src/MicItem.V.swift +++ b/Modules/MicX/MicItem/src/MicItem.V.swift @@ -4,13 +4,13 @@ import SwiftUI extension MicItem { public struct V: View { var id: String? + @StateObject var h = BusUI.Holder() @StateObject var isActive = BusUI.Value(K.isActive, false) - let proc: [Any] public init(_ id: String? = nil) { self.id = id /**/print("ИГР MicIV.init id: '\(id)'") - self.proc = [ + h.items = [ Bus.Delay(shouldResetTimeout, K.MI, K.timeout, id), Bus.Sync(shouldResetActivity, K.MI, K.isActive, id), MicItem.Controller(id) @@ -27,7 +27,7 @@ extension MicItem { .animation(.easeInOut(duration: 0.3)) .onAppear { isActive.id = id - Bus.send(K.requestActivityDate, id) + //Bus.send(K.requestActivityDate, id) } .onChange(of: id) { newValue in isActive.id = newValue diff --git a/app/Podfile.lock b/app/Podfile.lock index 65ba89b..031288f 100644 --- a/app/Podfile.lock +++ b/app/Podfile.lock @@ -1,6 +1,6 @@ PODS: - AELog (0.6.3) - - BusX (2024.01.26) + - BusX (2024.01.29) - MeetupIdX (2023.12.31): - AELog - BusX @@ -34,7 +34,7 @@ EXTERNAL SOURCES: SPEC CHECKSUMS: AELog: f732b70f7a9d1b4c6a3676304192b3908f362133 - BusX: cec0d774212a449bed1896ad7d7bb9c4c53e0cbd + BusX: 99cabace42f33d20aca0ce7941cc62493a1672d9 MeetupIdX: 2fa9fb27717aa8878ff495c1abe960c96e524308 MicX: 6ffa81f29a477a66cde277e3ade3de8ce2d47b91 MPAKX: dc592434f55edf34709f6e4f37c9ec90dcd95185