Skip to content

Commit c7df4e4

Browse files
committed
wrapping up
1 parent 8c17b1e commit c7df4e4

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

packages/core-mobile/app/new/common/components/ProgressDots.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { View } from 'react-native'
2+
import { View, Platform } from 'react-native'
33
import { useTheme } from '@avalabs/k2-alpine'
44
import Animated, { useAnimatedStyle, withTiming } from 'react-native-reanimated'
55

@@ -12,8 +12,6 @@ interface ProgressDotsProps {
1212
dotSize?: number
1313
/** Gap between dots */
1414
gap?: number
15-
/** Custom height for the container */
16-
height?: number
1715
/** Test ID for testing */
1816
testID?: string
1917
}
@@ -57,7 +55,6 @@ export const ProgressDots: React.FC<ProgressDotsProps> = ({
5755
currentStep,
5856
dotSize = 6,
5957
gap = 6,
60-
height,
6158
testID
6259
}) => {
6360
const {
@@ -71,7 +68,7 @@ export const ProgressDots: React.FC<ProgressDotsProps> = ({
7168
flexDirection: 'row',
7269
alignItems: 'center',
7370
gap,
74-
...(height && { height }),
71+
height: 56,
7572
justifyContent: 'center'
7673
}}>
7774
{Array.from({ length: totalSteps }).map((_, index) => (

packages/core-mobile/app/new/common/components/ScrollScreen.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,8 @@ export const ScrollScreen = ({
193193
style={[
194194
headerStyle,
195195
{
196-
gap: 8
196+
gap: 8,
197+
paddingHorizontal: 16
197198
}
198199
]}>
199200
{title ? (

packages/core-mobile/app/new/features/ledger/components/LedgerAppConnection.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ export const LedgerAppConnection: React.FC<LedgerAppConnectionProps> = ({
383383
return (
384384
<View style={{ flex: 1, paddingHorizontal: 16 }}>
385385
{/* Header with refresh icon and title */}
386-
<View style={{ alignItems: 'center', paddingVertical: 32 }}>
386+
<View style={{ alignItems: 'center', paddingVertical: 24 }}>
387387
<Icons.Notification.Sync
388388
color={colors.$textPrimary}
389389
width={75}
@@ -411,10 +411,10 @@ export const LedgerAppConnection: React.FC<LedgerAppConnectionProps> = ({
411411
</View>
412412

413413
<View style={{ flex: 1 }}>
414-
<GroupList data={addressListData} itemHeight={48} />
414+
<GroupList data={addressListData} itemHeight={40} />
415415
</View>
416416

417-
<View style={{ paddingBottom: 16, paddingTop: 16 }}>
417+
<View style={{ paddingBottom: 8, paddingTop: 12 }}>
418418
<Button type="tertiary" size="large" onPress={onCancel}>
419419
Cancel setup
420420
</Button>

packages/core-mobile/app/new/features/ledger/screens/DeviceConnectionScreen.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ export default function DeviceConnectionScreen(): JSX.Element {
195195
renderFooter={renderFooter}
196196
contentContainerStyle={{ flex: 1 }}>
197197
<View style={{ flex: 1, padding: 16 }}>
198-
{/* Always render the same AnimatedIconWithText component */}
199198
<View
200199
style={{
201200
position: 'absolute',

0 commit comments

Comments
 (0)