This commit is contained in:
Михаил Капелько committed 2023-12-26 12:56:47 +03:00
1 parent 19e4b7cd52
commit f7127895e9
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@ public extension Bus {
public init(
_ keys: Set<String>,
_ handler: @escaping ((String, T) -> Void),
opt: [Option] = [],
{
opt: [Option] = []
) {
Bus.receive(keys, handler, opt: opt, sub: &subscriptions)
}
}
+1 -1
View File
@@ -3,7 +3,7 @@ import SwiftUI
final class VM: ObservableObject {
@Published var text = "a:"
var subscriptions = [AnyCancellable]()
init() {