Files
Termind/TFI/DesignSystem/MobileConnectionFeedbackEnvironment.swift
T
Kaede Akino 632d913bb3 feat(terminal): add device-local experience preferences
Add local Bell and screen-awake controls with per-session bell observation and scene-aware effects. Provide foreground Connection Journey success haptics independent of terminal preferences.

Replace the notification sound with an original bell resource, make AudioToolbox completion queue-safe, and group mobile theme settings.
2026-10-17 02:20:38 +08:00

11 lines
270 B
Swift

import SwiftUI
struct MobileConnectionFeedbackContext {
var isForeground: @MainActor () -> Bool = { false }
var succeeded: @MainActor () -> Void = {}
}
extension EnvironmentValues {
@Entry var mobileConnectionFeedback = MobileConnectionFeedbackContext()
}