Skip to content

Commit bfc4f8c

Browse files
committed
Fix AppEnvironment ObservableObject conformance
1 parent 5610eab commit bfc4f8c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎DecoderSec/App/AppEnvironment.swift‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// for .shared directly. Phase 2 rewrite.
88
//
99

10+
import Combine
1011
import SwiftUI
1112

1213
/// Owns the app's singletons and injects them into the SwiftUI tree.
@@ -18,6 +19,8 @@ import SwiftUI
1819
@MainActor
1920
final class AppEnvironment: ObservableObject {
2021

22+
let objectWillChange = PassthroughSubject<Void, Never>()
23+
2124
// MARK: - Singletons (assembled once here, injected everywhere else)
2225

2326
let tunnel = TunnelManager.shared

0 commit comments

Comments
 (0)