mymonero / mymonero-mobile

MyMonero Android and iOS app codebase
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

Unexpected behavior: wallet disappears upon changing server address #61

Open CryptoGrampy opened 2 years ago

CryptoGrampy commented 2 years ago

Description

If I have a wallet loaded, then change the server address, save, change it back to what it was before, save, close the app and reopen, the wallet is gone. The app opens up and the wallet screen just has a blank page with 'MyMonero' at the top. Not sure if this is expected behavior.

Steps to reproduce

  1. Create a wallet using custom LWS, make sure wallet is working correctly
  2. Change Server Address to something else (.com to .co, etc), Save
  3. Change Server Address back to custom LWS and Save again
  4. Close app
  5. Reopen app
  6. Wallet disappears

Expected behavior:

I expect the wallet to always remain on the page (I think), or else a confirmation with something like 'If you change your server address, all of your wallets will be lost' or 'if you change your server address, all of your wallet view data will be sent to the new server. Proceed?'

Additionally, if the wallet IS supposed to disappear, i would expect the app to go through the first time open sequence again instead of the wallet screen just being blank.

Actual behavior:

Wallet disappears and the wallet screen is just blank.

Versions