Skip to content

Commit

Permalink
Merge pull request #2930 from ecency/profile-modal-xl-font-bug
Browse files Browse the repository at this point in the history
{Bug Fix] quick profile modal UI issue on larger font settings
  • Loading branch information
feruzm authored Oct 18, 2024
2 parents 93136ed + 58113de commit 915750a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ export const ProfileStats = ({ data, horizontalMargin, intermediate }: Props) =>
const StatItem = (props: { label: string; value: number | string; intermediate: boolean }) => (
<View style={{ alignItems: 'center', flex: 1 }}>
{!props.intermediate ? (
<Animated.Text entering={BounceIn} exiting={BounceOut} style={styles.statValue}>
<Animated.Text
entering={BounceIn}
exiting={BounceOut}
style={styles.statValue}
allowFontScaling={false}
>
{props.value}
</Animated.Text>
) : (
Expand Down

0 comments on commit 915750a

Please sign in to comment.