d
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user