Skip to content

Commit 9b08bac

Browse files
fix(LIVE-19457): add redirect to swap history to mobile
1 parent 4e211bd commit 9b08bac

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/poor-ligers-accept.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"live-mobile": patch
3+
---
4+
5+
add redirect to swap history

apps/ledger-live-mobile/src/screens/Swap/LiveApp/customHandlers/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export function useSwapCustomHandlers(
152152
"custom.getFee": getFee(accounts, navigation),
153153
"custom.getTransactionByHash": getTransactionByHash(accounts),
154154
"custom.saveSwapToHistory": saveSwapToHistory(accounts, dispatch),
155-
"custom.swapRedirectToHistory": () => null,
155+
"custom.swapRedirectToHistory": () => navigation.navigate(ScreenName.SwapHistory),
156156
"custom.isReady": async () => {
157157
if (Config.DETOX) {
158158
sendSwapLiveAppReady();

0 commit comments

Comments
 (0)