From b3a386cde7956e16ee2edf39a07ee8f6aa2b4534 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: Wed, 17 Jan 2024 18:47:21 +0300 Subject: [PATCH] d --- Modules/MicX/MicItem/src/MicItem.Shoulds.swift | 2 +- Modules/MicX/MicItem/src/MicItem.WillBe.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/MicX/MicItem/src/MicItem.Shoulds.swift b/Modules/MicX/MicItem/src/MicItem.Shoulds.swift index 90cbfad..9aba3d2 100644 --- a/Modules/MicX/MicItem/src/MicItem.Shoulds.swift +++ b/Modules/MicX/MicItem/src/MicItem.Shoulds.swift @@ -8,7 +8,7 @@ public extension MicItem { return now < end } - if timeout { + if c.timeout { return false } diff --git a/Modules/MicX/MicItem/src/MicItem.WillBe.swift b/Modules/MicX/MicItem/src/MicItem.WillBe.swift index 4be06f8..2030849 100644 --- a/Modules/MicX/MicItem/src/MicItem.WillBe.swift +++ b/Modules/MicX/MicItem/src/MicItem.WillBe.swift @@ -40,7 +40,7 @@ extension MicItem { { m, _ in m.activityDate.isRecent = false } ) - ctrl.pipe( + pipe( dbg: "timeout", sub: nil, Bus.events.compactMap { Bus.convertKeyValue(K.timeout, $0) }.map { (k: String, v: Bool) in v }.eraseToAnyPublisher(),