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: actions:
busModel busModel
pipes: pipes:
textApp: [recent, K.meetupIdTextApp] textApp: [recent, K.textApp]
textUI: [recent, K.meetupIdTextUI] textUI: [recent, K.textUI]
world: world:
textApp: [ps] textApp: [ps]

View File

@@ -90,7 +90,7 @@ extension MeetupId {
ctrl.pipeValue( ctrl.pipeValue(
dbg: "textA", dbg: "textA",
sub: nil, 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.value = $1
$0.textApp.isRecent = true $0.textApp.isRecent = true
@@ -103,7 +103,7 @@ extension MeetupId {
ctrl.pipeValue( ctrl.pipeValue(
dbg: "textUI", dbg: "textUI",
sub: nil, 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.value = $1
$0.textUI.isRecent = true $0.textUI.isRecent = true