From f605fdbf52eb796ab2bdd27002dfa32a29419380 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 15:34:06 +0300 Subject: [PATCH] d --- Modules/BusX/BusUI/src/BusUI.ManyTextField.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift b/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift index 8f731a6..13c2010 100644 --- a/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift +++ b/Modules/BusX/BusUI/src/BusUI.ManyTextField.swift @@ -34,7 +34,7 @@ extension BusUI { textUI, $v .removeDuplicates() - .compactMap { v in + .compactMap { v -> Any? in guard let id, let text = onlyUIText(v) @@ -42,7 +42,7 @@ extension BusUI { return nil } var d = [String: String]() - d[id] = v + d[id] = text return MPAK.Many([id], d) } .eraseToAnyPublisher(),