Михаил Капелько 9 months ago
parent
commit
3d3578c801
2 changed files with 5 additions and 5 deletions
  1. +3
    -3
      Modules/MicX/MicItem/src/MicItem.V.swift
  2. +2
    -2
      app/Podfile.lock

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

@@ -4,13 +4,13 @@ import SwiftUI
extension MicItem { extension MicItem {
public struct V: View { public struct V: View {
var id: String? var id: String?
@StateObject var h = BusUI.Holder()
@StateObject var isActive = BusUI.Value(K.isActive, false) @StateObject var isActive = BusUI.Value(K.isActive, false)
let proc: [Any]


public init(_ id: String? = nil) { public init(_ id: String? = nil) {
self.id = id self.id = id
/**/print("ИГР MicIV.init id: '\(id)'") /**/print("ИГР MicIV.init id: '\(id)'")
self.proc = [
h.items = [
Bus.Delay(shouldResetTimeout, K.MI, K.timeout, id), Bus.Delay(shouldResetTimeout, K.MI, K.timeout, id),
Bus.Sync(shouldResetActivity, K.MI, K.isActive, id), Bus.Sync(shouldResetActivity, K.MI, K.isActive, id),
MicItem.Controller(id) MicItem.Controller(id)
@@ -27,7 +27,7 @@ extension MicItem {
.animation(.easeInOut(duration: 0.3)) .animation(.easeInOut(duration: 0.3))
.onAppear { .onAppear {
isActive.id = id isActive.id = id
Bus.send(K.requestActivityDate, id)
//Bus.send(K.requestActivityDate, id)
} }
.onChange(of: id) { newValue in .onChange(of: id) { newValue in
isActive.id = newValue isActive.id = newValue


+ 2
- 2
app/Podfile.lock View File

@@ -1,6 +1,6 @@
PODS: PODS:
- AELog (0.6.3) - AELog (0.6.3)
- BusX (2024.01.26)
- BusX (2024.01.29)
- MeetupIdX (2023.12.31): - MeetupIdX (2023.12.31):
- AELog - AELog
- BusX - BusX
@@ -34,7 +34,7 @@ EXTERNAL SOURCES:


SPEC CHECKSUMS: SPEC CHECKSUMS:
AELog: f732b70f7a9d1b4c6a3676304192b3908f362133 AELog: f732b70f7a9d1b4c6a3676304192b3908f362133
BusX: cec0d774212a449bed1896ad7d7bb9c4c53e0cbd
BusX: 99cabace42f33d20aca0ce7941cc62493a1672d9
MeetupIdX: 2fa9fb27717aa8878ff495c1abe960c96e524308 MeetupIdX: 2fa9fb27717aa8878ff495c1abe960c96e524308
MicX: 6ffa81f29a477a66cde277e3ade3de8ce2d47b91 MicX: 6ffa81f29a477a66cde277e3ade3de8ce2d47b91
MPAKX: dc592434f55edf34709f6e4f37c9ec90dcd95185 MPAKX: dc592434f55edf34709f6e4f37c9ec90dcd95185


Loading…
Cancel
Save