Skip to content

Commit

Permalink
fix(wallet-mobile): portfolio sync issues
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Dec 20, 2024
1 parent 4b78708 commit 2f3b944
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const DashboardTokensList = () => {
const tokensList = React.useMemo(() => balances.fts ?? [], [balances.fts])

const isJustADA = React.useMemo(() => {
if (tokenList.length !== 1) return false
if (tokensList.length !== 1) return false
const tokenInfo = tokensList[0].info
const isPrimary = isPrimaryToken(tokenInfo)
return isPrimary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ export const makeCardanoWallet = (networkManager: Network.Manager, implementatio

async resync() {
await this.clear()
return this.sync()
return this.sync({isForced: true})
}
// end sync

Expand Down

0 comments on commit 2f3b944

Please sign in to comment.