Skip to content

Commit

Permalink
Adjust network button press scale
Browse files Browse the repository at this point in the history
  • Loading branch information
christianbaroni committed Dec 20, 2024
1 parent f5d33c6 commit 949bfd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NetworkSwitcher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const useNetworkOptionStyle = (isSelected: SharedValue<boolean>, color?: string)
(current, prev) => {
if (current === true && prev === false) {
scale.value = withSequence(
withTiming(0.88, { duration: 120, easing: Easing.bezier(0.25, 0.46, 0.45, 0.94) }),
withTiming(0.9, { duration: 120, easing: Easing.bezier(0.25, 0.46, 0.45, 0.94) }),
withTiming(1, TIMING_CONFIGS.fadeConfig)
);
}
Expand Down

0 comments on commit 949bfd6

Please sign in to comment.