12 lines
304 B
Swift
12 lines
304 B
Swift
import Foundation
|
|
|
|
/// Carries a thread route received from a push notification tap to the UI.
|
|
/// AppDelegate writes to it; RootView and NotificationsView read from it.
|
|
@Observable
|
|
final class PushRouter {
|
|
static let shared = PushRouter()
|
|
private init() {}
|
|
|
|
var pendingRoute: ThreadRoute?
|
|
}
|