Files
ladill-mini/apps/ios/LadillMini/Push/PushNotificationRouter.swift
T
isaaccladandCursor ea6afb80a4
Deploy Ladill Mini / deploy (push) Successful in 35s
Add Ladill Mini native Android and iOS apps.
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>
2026-06-11 22:30:35 +00:00

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
}
}