Aptoide / appcoins-wallet-android

AppCoins Wallet repo
https://appcoins.io
GNU General Public License v3.0
75 stars 45 forks source link

[MOB-796] Handle change of availability on merge appcoins view #928

Closed JDSM01 closed 3 years ago

JDSM01 commented 3 years ago

What does this PR do?

Adds a check for payments availability onResume, so that the user is unable to make a payment if he switches to a wallet without credits or APPC (he would receive an error from the backend)

Database changed?

No

Where should the reviewer start?

MergedAppcoinsFragment.kt

How should this be manually tested?

Make several onResume calls with differente wallet and check if the view updates correctly. Also test the normal flow

What are the relevant tickets?

https://aptoide.atlassian.net/browse/MOB-796

Questions:

Does this add new dependencies which need to be added? (Eg. new libs, new keys, etc.)

Code Review Checklist