allow a scale of up to 1.3 (#546)

* allow a scale of up to 1.3

* update lock files

* clean up unused imports

* fix settings
This commit is contained in:
Justin Hernandez
2025-05-05 20:00:28 -05:00
committed by GitHub
parent 7e89698e74
commit 5163761a52
6 changed files with 32 additions and 15 deletions

View File

@@ -14,7 +14,7 @@ import { black, white } from '../utils/colors';
// Get the current font scale factor
const fontScale = PixelRatio.getFontScale();
// fontScale > 1 means the user has increased text size in accessibility settings
const isLargerTextEnabled = fontScale > 1;
const isLargerTextEnabled = fontScale > 1.3;
interface ExpandableBottomLayoutProps extends ViewProps {
children: React.ReactNode;

View File

@@ -1,7 +1,6 @@
import { CheckSquare2, Info, Wallet } from '@tamagui/lucide-icons';
import React from 'react';
import { useMemo } from 'react';
import { ScrollView, StatusBar, StyleSheet } from 'react-native';
import React, { useMemo } from 'react';
import { ScrollView, StyleSheet } from 'react-native';
import { Card, Image, Text, XStack, YStack } from 'tamagui';
import { ProofHistory, ProofStatus } from '../stores/proofHistoryStore';
@@ -13,8 +12,6 @@ import {
emerald500,
red500,
slate100,
slate200,
slate400,
slate700,
white,
zinc400,

View File

@@ -7,18 +7,17 @@ import {
SectionList,
StyleSheet,
} from 'react-native';
import { Card, Image, SelectIcon, Text, View, XStack, YStack } from 'tamagui';
import { Card, Image, Text, View, XStack, YStack } from 'tamagui';
import { EndpointType } from '../../../common/src/utils/appType';
import { BodyText } from '../components/typography/BodyText';
import { Caption } from '../components/typography/Caption';
import { useProofHistoryStore } from '../stores/proofHistoryStore';
import { ProofHistory } from '../stores/proofHistoryStore';
import {
ProofHistory,
useProofHistoryStore,
} from '../stores/proofHistoryStore';
import {
black,
blue100,
blue600,
sky500,
slate50,
slate300,
slate500,