Skip to content

Commit

Permalink
Fix review accordion and send loading button
Browse files Browse the repository at this point in the history
  • Loading branch information
jorbuedo committed Feb 26, 2025
1 parent e1d5cb4 commit 79053b6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/wallet-mobile/src/features/ReviewTx/common/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export const Accordion = ({label, children}: {label: string; children: React.Rea
styles.childrenContainer,
{
maxHeight: animatedHeight.interpolate({
inputRange: [0, 1],
outputRange: [0, 1000],
inputRange: [0, 0.9, 1],
outputRange: [0, 1000, 9999999], // can't mix numbers and strings, and appending % to the result is crashing the app, so just use a BIG number
}),
opacity: animatedHeight,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,12 @@ export const ListAmountsToSendScreen = () => {

<Spacer height={33} />

<NextButton onPress={onNext} title={strings.next} disabled={selectedTokensCounter === 0 || isLoading} />
<NextButton
onPress={onNext}
title={strings.next}
disabled={selectedTokensCounter === 0}
isLoading={isLoading}
/>
</Actions>
</SafeAreaView>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
"defaultMessage": "!!!Add token",
"file": "src/features/Send/useCases/ListAmountsToSend/ListAmountsToSendScreen.tsx",
"start": {
"line": 219,
"line": 224,
"column": 12,
"index": 7349
"index": 7406
},
"end": {
"line": 222,
"line": 227,
"column": 3,
"index": 7426
"index": 7483
}
}
]

0 comments on commit 79053b6

Please sign in to comment.