This commit is contained in:
Михаил Капелько
2023-12-28 15:46:59 +03:00
parent 514e06e8fe
commit c1267e245c
2 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ service:
actions:
busModel
pipes:
textApp: [recent, K.meetupIdTextApp]
textUI: [recent, K.meetupIdTextUI]
textApp: [recent, K.textApp]
textUI: [recent, K.textUI]
world:
textApp: [ps]

View File

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