spacemeshos / smapp-lite

The light wallet application for Spacemesh network
2 stars 1 forks source link

Hide Switch button when only one account exist #8

Open monikasmolarek opened 4 months ago

monikasmolarek commented 4 months ago

Once we create a new wallet, we have Account 0 and Account 1 automatically created (was it only to test the "Switch" button? Don't forget to fix it back before release)

Screenshot 2024-05-22 at 21 43 08

brusherru commented 3 months ago

Yeah, it was only to test path derivation and switch button out of the box, since there was no "create account" feature :) It is fixed in https://github.com/spacemeshos/smapp-lite/pull/13

But probably I should also disable switch button in case there is only one account or add there an option "Create new account" 🤔

monikasmolarek commented 3 months ago

I would suggest hiding the button if only 1 account exists. The [create new account] option is in the settings and it's not something we need every day, so such a button might add unnecessary noise on this nice, minimalistic wallet screen. especially while using a smartphone