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

Ensure that search history is kept separately per user #5060

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ericknathan
Copy link

Currently, if a user has more than one account logged into the same device, the search history is shared between them, which can be annoying and confusing when the accounts have different purposes. I've added a tweak so that there is a prefix using the user's did before each AsyncStorage key, in order to avoid this behavior.

Prev:

  • searchHistory
  • selectedProfiles

Now:

  • searchHistory:{did}/terms
  • searchHistory:{did}/selectedProfiles

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.

1 participant