Skip to content

Commit

Permalink
feat(Bonus Pagamenti Digitali): [#176339472] Autoload wallet (#2792)
Browse files Browse the repository at this point in the history
* [#176339472] Added loadWallets() in DidMount

* [#176339472] refactor comments

Co-authored-by: Giovanni Mancini <g.mancini.0gmail.com>
Co-authored-by: fabriziofff <[email protected]>
Co-authored-by: Matteo Boschi <[email protected]>
  • Loading branch information
3 people authored Feb 10, 2021
1 parent b455e36 commit 81c3bdf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ts/screens/wallet/WalletHomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,11 @@ class WalletHomeScreen extends React.PureComponent<Props, State> {
// (transactions should be persisted & fetched periodically)
// https://www.pivotaltracker.com/story/show/168836972

// FIXME restore loadWallets and loadTransactions see https://www.pivotaltracker.com/story/show/176051000
// this.props.loadWallets();
// this.props.loadTransactions(this.props.transactionsLoadedLength);
if (pot.isNone(this.props.potWallets)) {
this.props.loadWallets();
}

// FIXME restore loadTransactions see https://www.pivotaltracker.com/story/show/176051000

// eslint-disable-next-line functional/immutable-data
this.navListener = this.props.navigation.addListener("didFocus", () => {
Expand Down

0 comments on commit 81c3bdf

Please sign in to comment.