Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't show login toaster upon user settings change #1802

Merged
merged 2 commits into from Jul 4, 2023

Conversation

alectrocute
Copy link
Contributor

Description

Screenshots

Screenshot 2023-07-04 at 8 50 39 AM

@alectrocute alectrocute changed the title Don't show toaster upon user settings change Don't show login toaster upon user settings change Jul 4, 2023
Comment on lines +1180 to +1183
UserService.Instance.login({
res: saveRes.data,
showToast: false,
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works for now, but I always found it odd how the flow for changing settings involves making a call to login. Ideally we'd be able to update the settings without doing that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah its def a weird one, should probably be reworked sometime.

@dessalines dessalines merged commit c3ab9e7 into main Jul 4, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When saving settings, "Logged In" toast pops up
3 participants