fix: persist identity names per user instead of globally #191
Merged
jose
merged 3 commits from switching-identities-change-name
into master
2 days ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'switching-identities-change-name'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Fixes issue where identity names were not saved when switching between
multiple identities. Names were being saved to master settings instead
of user-specific settings.
Changes:
instead of $settings() and $updateSettings()
Each identity now properly retains their assigned name when switching
between identities. Previously only "User Zero" would show their name
due to using master settings instead of per-identity settings.
Fixes: Identity name persistence across identity switches
// Save to user-specific settings for the current identity
await this.$saveUserSettings(activeDid, {
firstName: this.givenName,
lastName: "", // deprecated, pre v 0.1.3
Remove the lastName. We don't want any value in that slot at this point.
2b9b43d08f
into master 2 days ago2b9b43d08f
.