Deploy Ladill Mini / deploy (push) Successful in 35s
Ship full-featured mobile clients with auth, payments, QRs, push notifications, and iOS polish including Figtree typography, app icons, and QR previews. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
422 B
Swift
18 lines
422 B
Swift
import Foundation
|
|
|
|
/// Routes notification taps into the in-app notifications inbox (mirrors Android `open_notifications`).
|
|
@MainActor
|
|
final class PushNotificationRouter: ObservableObject {
|
|
static let shared = PushNotificationRouter()
|
|
|
|
@Published var shouldOpenInbox = false
|
|
|
|
func openInbox() {
|
|
shouldOpenInbox = true
|
|
}
|
|
|
|
func consumeOpenInboxRequest() {
|
|
shouldOpenInbox = false
|
|
}
|
|
}
|