From 92e89bb0cf22e64ec3302e0bd17d78f5b7fde764 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: Mon, 8 Jan 2024 16:00:01 +0300 Subject: [PATCH] d --- Modules/MeetupIdX/src/MeetupId.SectionBus.swift | 2 +- Modules/MeetupIdX/src/MeetupId.Shoulds.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/MeetupIdX/src/MeetupId.SectionBus.swift b/Modules/MeetupIdX/src/MeetupId.SectionBus.swift index bed1719..825dcfb 100644 --- a/Modules/MeetupIdX/src/MeetupId.SectionBus.swift +++ b/Modules/MeetupIdX/src/MeetupId.SectionBus.swift @@ -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), ]) diff --git a/Modules/MeetupIdX/src/MeetupId.Shoulds.swift b/Modules/MeetupIdX/src/MeetupId.Shoulds.swift index 22467a5..d85238b 100644 --- a/Modules/MeetupIdX/src/MeetupId.Shoulds.swift +++ b/Modules/MeetupIdX/src/MeetupId.Shoulds.swift @@ -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)