Concordium / concordium-reference-wallet-android

Reference Android wallet for the Concordium blockchain
Apache License 2.0
12 stars 2 forks source link

User should not be able to toggle shielded balance for read-only accounts #106

Closed mh-concordium closed 1 year ago

mh-concordium commented 2 years ago

Bug Description It is possible to switch on/off shielded balance for read-only accounts. This should not be possible and thus this option should not exist in the burger menu for read-only accounts.

Steps to Reproduce

  1. Reach the state where you have a read-only account. (Make an export of Concordium backup file, create another account, import backup file)
  2. Select read-only account and burger menu.
  3. Select "Show shielded balance on".

Expected Result Button "Show shielded balance on" should not exist for read-only account thus it will not be possible to show shielded balance for read-only accounts.

Actual Result It is possible to show shielded balance tab for read-only account and this leads to confusion.

Versions

mh-concordium commented 2 years ago

Verified.

Versions