Михаил Капелько 10 months ago
parent
commit
27865e97b3
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      Modules/BusX/BusUI/src/BusUI.ManyTextField.swift

+ 11
- 1
Modules/BusX/BusUI/src/BusUI.ManyTextField.swift View File

@@ -51,7 +51,17 @@ extension BusUI {
Bus.receiveSync( Bus.receiveSync(
[textApp], [textApp],
{ [weak self] (_, v: String) in self?.v = "a:\(v)" },
{ [weak self] (_, m: MPAK.Many<String>) in
guard
let id,
m.keys.contains(id),
let text = m.dict[id]
else {
return
}
self?.v = "a:\(text)"
},
&subscriptions &subscriptions
) )
} }


Loading…
Cancel
Save