Skip to content

Commit

Permalink
fix: MotiPressable on Android, close #179
Browse files Browse the repository at this point in the history
  • Loading branch information
nandorojo committed Apr 6, 2022
1 parent a4d7d18 commit 8afb173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/moti/src/interactions/pressable/pressable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const MotiPressable = forwardRef<View, MotiPressableProps>(
)

let node: ReactNode
if (Platform.OS === 'web') {
if (Platform.OS === 'web' || Platform.OS === 'android') {
node = (
<Hoverable
onHoverIn={updateInteraction('hovered', true, onHoverIn)}
Expand Down

0 comments on commit 8afb173

Please sign in to comment.