Михаил Капелько 10 months ago
parent
commit
b3a386cde7
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Modules/MicX/MicItem/src/MicItem.Shoulds.swift
  2. +1
    -1
      Modules/MicX/MicItem/src/MicItem.WillBe.swift

+ 1
- 1
Modules/MicX/MicItem/src/MicItem.Shoulds.swift View File

@@ -8,7 +8,7 @@ public extension MicItem {
return now < end return now < end
} }


if timeout {
if c.timeout {
return false return false
} }




+ 1
- 1
Modules/MicX/MicItem/src/MicItem.WillBe.swift View File

@@ -40,7 +40,7 @@ extension MicItem {
{ m, _ in m.activityDate.isRecent = false } { m, _ in m.activityDate.isRecent = false }
) )


ctrl.pipe(
pipe(
dbg: "timeout", dbg: "timeout",
sub: nil, sub: nil,
Bus.events.compactMap { Bus.convertKeyValue(K.timeout, $0) }.map { (k: String, v: Bool) in v }.eraseToAnyPublisher(), Bus.events.compactMap { Bus.convertKeyValue(K.timeout, $0) }.map { (k: String, v: Bool) in v }.eraseToAnyPublisher(),


Loading…
Cancel
Save