diff --git a/src/db/tables/settings.ts b/src/db/tables/settings.ts
index 0b7960c..135dc8d 100644
--- a/src/db/tables/settings.ts
+++ b/src/db/tables/settings.ts
@@ -16,7 +16,7 @@ export type Settings = {
activeDid?: string; // Active Decentralized ID
apiServer?: string; // API server URL
firstName?: string; // User's first name
- lastName?: string; // User's last name
+ lastName?: string; // deprecated - put all names in firstName
lastViewedClaimId?: string; // Last viewed claim ID
lastNotifiedClaimId?: string; // Last notified claim ID
isRegistered?: boolean;
diff --git a/src/views/ContactQRScanShowView.vue b/src/views/ContactQRScanShowView.vue
index 15870ea..3c1cdb5 100644
--- a/src/views/ContactQRScanShowView.vue
+++ b/src/views/ContactQRScanShowView.vue
@@ -18,6 +18,16 @@
Your Contact Info
+
+ Beware!
+ You aren't sharing your name, so hurry and
+
+ go here to set it for them.
+
+
@@ -87,6 +97,7 @@ export default class ContactQRScanShow extends Vue {
activeDid = "";
apiServer = "";
+ givenName = "";
qrValue = "";
public async getIdentity(activeDid: string) {
@@ -111,6 +122,7 @@ export default class ContactQRScanShow extends Vue {
const settings = await db.settings.get(MASTER_SETTINGS_KEY);
this.activeDid = settings?.activeDid || "";
this.apiServer = settings?.apiServer || "";
+ this.givenName = settings?.firstName || "";
await accountsDB.open();
const accounts = await accountsDB.accounts.toArray();
diff --git a/src/views/NewEditAccountView.vue b/src/views/NewEditAccountView.vue
index b416490..b59f0da 100644
--- a/src/views/NewEditAccountView.vue
+++ b/src/views/NewEditAccountView.vue
@@ -68,7 +68,7 @@ export default class NewEditAccountView extends Vue {
});
localStorage.setItem("firstName", this.givenName as string);
localStorage.setItem("lastName", ""); // deprecated, pre v 0.1.3
- this.$router.push({ name: "account" });
+ this.$router.back();
}
onClickCancel() {