Skip to content

Commit

Permalink
fix: update logs
Browse files Browse the repository at this point in the history
  • Loading branch information
gtokman committed Sep 28, 2023
1 parent 0c3d966 commit 51a1cfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type HapticType =

export function haptic(type: HapticType = 'medium') {
if (Platform.OS === 'android') {
console.warn('Haptics is not supported on Android');
console.log('Haptics is not supported on Android');
return;
}
Haptics.haptic(type);
Expand All @@ -33,7 +33,7 @@ export type HapticPattern = '.' | '-' | 'o' | 'O' | 'x' | 'X';
export function hapticWithPattern(pattern: HapticPattern[], delay: number = 0) {
console.log('hapticWithPattern', pattern, delay);
if (Platform.OS === 'android') {
console.warn('Haptics is not supported on Android');
console.log('Haptics is not supported on Android');
return;
}
Haptics.hapticWithPattern(pattern, delay);
Expand Down

0 comments on commit 51a1cfb

Please sign in to comment.