Kin: personal relationships app — server (cadence/due/migrations) + Expo Android app
Some checks failed
Build & Release APK / build (push) Failing after 13s
Some checks failed
Build & Release APK / build (push) Failing after 13s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
11
app/src/lib/haptics.ts
Normal file
11
app/src/lib/haptics.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import * as Haptics from "expo-haptics";
|
||||
import { Platform } from "react-native";
|
||||
|
||||
export function tap() {
|
||||
if (Platform.OS !== "web") void Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light);
|
||||
}
|
||||
|
||||
export function success() {
|
||||
if (Platform.OS !== "web")
|
||||
void Haptics.notificationAsync(Haptics.NotificationFeedbackType.Success);
|
||||
}
|
||||
Reference in New Issue
Block a user