mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-03-12 02:06:17 -05:00
Option to make account primary #55
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @shreyas1599 on GitHub (May 8, 2020).
@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.@shreyas1599 commented on GitHub (Feb 4, 2021):
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.
@shreyas1599 commented on GitHub (Feb 4, 2021):
Looks like
auth.activeAccountalready 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?
@pd4d10 commented on GitHub (Feb 4, 2021):
OK, I think it's a good idea