From 3d3578c801a1ff6ed7bb8732772d805c09fad3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Sun, 28 Jan 2024 18:53:54 +0300 Subject: [PATCH] d --- Modules/MicX/MicItem/src/MicItem.V.swift | 6 +++--- app/Podfile.lock | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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