Files
swiftapp/swift/WatchApp/Design/Haptics.swift
Jürgen Kunz 61a0cc1f7d
Some checks failed
CI / test (push) Has been cancelled
Overhaul native approval UX and add widget surfaces
Bring the SwiftUI app in line with the Apple-native mock and keep pending approvals actionable from Live Activities and watch complications.
2026-04-19 16:29:13 +02:00

17 lines
306 B
Swift

import SwiftUI
import WatchKit
enum Haptics {
static func success() {
WKInterfaceDevice.current().play(.success)
}
static func warning() {
WKInterfaceDevice.current().play(.failure)
}
static func selection() {
WKInterfaceDevice.current().play(.click)
}
}