-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add switch account functionality (#3308)
* feat: create profile screen, add switch button Signed-off-by: Prakhar Agarwal <[email protected]> * feat: add profile item Signed-off-by: Prakhar Agarwal <[email protected]> * feat: loads data from persistant state, displays it, switch b/w accounts, log out, and add new user Signed-off-by: Prakhar Agarwal <[email protected]> * feat: fetch usernames from backend Signed-off-by: Prakhar Agarwal <[email protected]> * feat: display profiles(fix #fb24fb) and enable switching Signed-off-by: Prakhar Agarwal <[email protected]> * fix: show switch option only when user is authenticated Signed-off-by: Prakhar Agarwal <[email protected]> * fix: call logout mutation Signed-off-by: Prakhar Agarwal <[email protected]> * fix: navigate to home screen on switching profile Signed-off-by: Prakhar Agarwal <[email protected]> * fix: switch icon color Signed-off-by: Prakhar Agarwal <[email protected]> * fix: disable back when loading data Signed-off-by: Prakhar Agarwal <[email protected]> * fix: go back 1 screen on profile switch Signed-off-by: Prakhar Agarwal <[email protected]> --------- Signed-off-by: Prakhar Agarwal <[email protected]>
- Loading branch information
1 parent
8bd1533
commit e1d1683
Showing
9 changed files
with
274 additions
and
34 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.