mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
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:
@@ -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;
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user