Михаил Капелько 10 months ago
parent
commit
14e762ba3c
2 changed files with 6 additions and 0 deletions
  1. +3
    -0
      Modules/BusX/src/Bus.Aux.swift
  2. +3
    -0
      Modules/MeetupIdX/src/MeetupId.Shoulds.swift

+ 3
- 0
Modules/BusX/src/Bus.Aux.swift View File

@@ -8,6 +8,9 @@ public extension Bus {
key == v.key, key == v.key,
let value = v.value as? T let value = v.value as? T
else { else {
if key == "MeetupId.finishLoading" {
/**/print("ИГР Bus.convertKV failed k/v/T: '\(key)'/'\(v)'/'\(type(of: T)'")
}
return nil return nil
} }
return (key, value) return (key, value)


+ 3
- 0
Modules/MeetupIdX/src/MeetupId.Shoulds.swift View File

@@ -26,10 +26,12 @@ public extension MeetupId {
} }


static func shouldResetLoading(_ c: MeetupIdContext) -> Bool? { static func shouldResetLoading(_ c: MeetupIdContext) -> Bool? {
/**/print("ИГР MeetupIS.shouldRL-0")
if if
c.join, c.join,
!c.isLoading.value !c.isLoading.value
{ {
/**/print("ИГР MeetupIS.shouldRL-1")
return true return true
} }


@@ -37,6 +39,7 @@ public extension MeetupId {
c.finishLoading, c.finishLoading,
c.isLoading.value c.isLoading.value
{ {
/**/print("ИГР MeetupIS.shouldRL-2")
return false return false
} }




Loading…
Cancel
Save