Skip to content

Commit

Permalink
LIVE-3165 - LLM - Account deletion issue on redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
LFBarreto committed Aug 3, 2022
1 parent 8040d39 commit 661719e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/real-lizards-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"live-mobile": patch
---

LLM - fic issue on redirection after account deletion
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AccountSettings extends PureComponent<Props, State> {
deleteAccount = () => {
const { account, deleteAccount, navigation } = this.props;
deleteAccount(account);
navigation.replace(NavigatorName.PortfolioAccounts);
navigation.replace(NavigatorName.Base);
};

render() {
Expand Down
4 changes: 2 additions & 2 deletions apps/ledger-live-mobile/src/screens/Accounts/AccountOrder.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from "react";
import { SortAltMedium } from "@ledgerhq/native-ui/assets/icons";
import { Icons } from "@ledgerhq/native-ui";
import Touchable from "../../components/Touchable";
import AccountOrderModal from "./AccountOrderModal";
import { useRefreshAccountsOrderingEffect } from "../../actions/general";
Expand All @@ -19,7 +19,7 @@ export default function AccountOrder() {

return (
<Touchable event="AccountOrderOpen" onPress={onPress}>
<SortAltMedium size={24} />
<Icons.Sort2AltMedium size={24} />
<AccountOrderModal isOpened={isOpened} onClose={onClose} />
</Touchable>
);
Expand Down

0 comments on commit 661719e

Please sign in to comment.