This commit is contained in:
Михаил Капелько committed 2023-12-28 14:38:59 +03:00
1 parent 5d5aa3d989
commit 836adabe08
2 files changed
+6 -8

No files matched your search

@@ -87,10 +87,7 @@ extension MeetupId {
ctrl.pipeValue(
dbg: "textA",
sub: nil,
Bus.events
.compactMap { Bus.convertKeyValue(K.meetupIdTextApp.rawValue, $0) }
.map { (k: String, v: String) -> String in v }
.eraseToAnyPublisher(),
Bus.events.compactMap { Bus.convertKeyValue(K.meetupIdTextApp.rawValue, $0) }.map { (k: String, v: String) in v }.eraseToAnyPublisher().eraseToAnyPublisher(),
{
$0.textApp.value = $1
$0.textApp.isRecent = true
@@ -103,10 +100,7 @@ extension MeetupId {
ctrl.pipeValue(
dbg: "textUI",
sub: nil,
Bus.events
.compactMap { Bus.convertKeyValue(K.meetupIdTextUI.rawValue, $0) }
.map { (k: String, v: String) -> String in v }
.eraseToAnyPublisher(),
Bus.events.compactMap { Bus.convertKeyValue(K.meetupIdTextUI.rawValue, $0) }.map { (k: String, v: String) in v }.eraseToAnyPublisher().eraseToAnyPublisher(),
{
$0.textUI.value = $1
$0.textUI.isRecent = true