fix: persist identity names per user instead of globally #191
Reference in New Issue
Block a user
Delete Branch "switching-identities-change-name"
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?
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
@@ -117,0 +118,4 @@// Save to user-specific settings for the current identityawait this.$saveUserSettings(activeDid, {firstName: this.givenName,lastName: "", // deprecated, pre v 0.1.3Remove the lastName. We don't want any value in that slot at this point.