Some checks failed
CI / test (push) Has been cancelled
Bring the SwiftUI app in line with the Apple-native mock and keep pending approvals actionable from Live Activities and watch complications.
17 lines
306 B
Swift
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)
|
|
}
|
|
}
|