Михаил Капелько 10 months ago
parent
commit
92e89bb0cf
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      Modules/MeetupIdX/src/MeetupId.SectionBus.swift
  2. +2
    -2
      Modules/MeetupIdX/src/MeetupId.Shoulds.swift

+ 1
- 1
Modules/MeetupIdX/src/MeetupId.SectionBus.swift View File

@@ -11,7 +11,7 @@ extension MeetupId {
Bus.Debounce(shouldResetText, 0.2, K.M, K.textApp),
Bus.Delay(shouldFinishLoading, 5, K.M, K.finishLoading),
Bus.Sync(shouldEnableJoin, K.M, K.isJoinAvailable),
Bus.Sync(shouldResetLoading, K.M, K.isLoading)
Bus.Sync(shouldResetLoading, K.M, K.isLoading),

Bus.Debounce(shouldManyResetText, 0.2, K.M, K.testTextApp),
])


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

@@ -1,5 +1,5 @@
import Foundation
import MPAK
import MPAKX

public extension MeetupId {
static func shouldEnableJoin(_ c: MeetupIdContext) -> Bool? {
@@ -65,7 +65,7 @@ public extension MeetupId {
guard !c.testTextUI.keys.isEmpty else { return nil }
var d = [String: String]()
for id in c.testTextUI.keys {
let text = c.testTextUI.dict[id]
let text = c.testTextUI.dict[id] ?? ""
d[id] = formatId(text)
}
return .init(c.testTextUI.keys, d)


Loading…
Cancel
Save