Skip to content

Commit

Permalink
* fixed quick profile modal font issue causing ui being cropped due t…
Browse files Browse the repository at this point in the history
…o larger font settings
  • Loading branch information
aliseyalvi committed Oct 18, 2024
1 parent 93136ed commit 58113de
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 58113de

Please sign in to comment.