moontreeapp / moontree

Primary Mono Repo
6 stars 5 forks source link

False loading of holdings #531

Closed Whale-Street closed 6 days ago

Whale-Street commented 2 years ago

Describe The Bug

A loading list shimmer is being shown quickly before the default wallet placeholder. Splash Screen -> Shimmer List -> Wallet Placeholder

To Reproduce

  1. Download fresh app
  2. Start app
  3. View bug on wallet home screen

Expected Behavior

Splash Screen -> Wallet Placeholder

Screenshots

Screenshot_20220504-101717_Squid

Tasks For This Bug

lastmeta commented 2 years ago

for this we'll to add the ability to differentiate between two cases: 1. auto-generated wallet (which we know is empty) 2. imported wallet, (which we think isn't empty).

right now the default case is made for the imported case (2): show loading (because it doesn't know, but assumes there's stuff).

So we'll need to say, that's the default case, and when we auto-generate a wallet we'll differentiate that case and just immediately display the empty wallet message while it would otherwise display the loading one row.

lastmeta commented 2 years ago

post mvp