Closed shreyas1599 closed 3 years ago
I think it's better to have an option to make an account primary so it opens by default while opening the app. (the intention of using reorder able list was to move the frequently used accounts to the top). Making an account primary seems a better way to do it.
Looks like auth.activeAccount
already solves this. But it is not persistent. Login screen reopens if you force close and open the app. Should we just write it into shared prefs?
(Eg: On popular apps that support multiple accounts, opening the last used account is the way its done instead of asking the user to select from the list of accounts)
@pd4d10 Is this fine or do you have an alternative suggestion?
opening the last used account
OK, I think it's a good idea
@pd4d10 Doesn't seem too hard. I'd just have to use a
ReorderableList
. I'll open a PR for this if it's alright with you.