From 3cdc300a4902c98b604ba978dbfb05634e0dc08a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B8=D1=85=D0=B0=D0=B8=D0=BB=20=D0=9A=D0=B0=D0=BF?= =?UTF-8?q?=D0=B5=D0=BB=D1=8C=D0=BA=D0=BE?= Date: Tue, 26 Dec 2023 13:01:27 +0300 Subject: [PATCH] d --- src/App.swift | 7 ------- src/VM.swift | 6 +++++- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/App.swift b/src/App.swift index 6f40164..f14573c 100644 --- a/src/App.swift +++ b/src/App.swift @@ -17,13 +17,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate window?.backgroundColor = UIColor.white window?.makeKeyAndVisible() - - Bus.process( - MeetupId.K.meetupIdTextUI.rawValue, - MeetupId.K.meetupIdTextApp.rawValue, - MeetupId.shouldFormat - ) - return true } } diff --git a/src/VM.swift b/src/VM.swift index 0e80f4d..bd33712 100644 --- a/src/VM.swift +++ b/src/VM.swift @@ -3,7 +3,11 @@ import SwiftUI final class VM: ObservableObject { @Published var text = "a:" - + let format = Bus.Processor( + MeetupId.K.meetupIdTextUI.rawValue, + MeetupId.K.meetupIdTextApp.rawValue, + MeetupId.shouldFormat + ) var subscriptions = [AnyCancellable]() init() {