Михаил Капелько 11 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(
[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
)
}


Loading…
Cancel
Save