Browse Source

fix: replace the confusing phrase "Unnamed/Unknown" verbiage with "Not Named"

master
Trent Larson 1 day ago
parent
commit
d2d64cf1d9
  1. 2
      src/libs/endorserServer.ts
  2. 2
      src/views/ContactGiftingView.vue

2
src/libs/endorserServer.ts

@ -309,7 +309,7 @@ export function didInfoForContact(
showDidForVisible: boolean = false, showDidForVisible: boolean = false,
// eslint-disable-next-line @typescript-eslint/no-explicit-any // eslint-disable-next-line @typescript-eslint/no-explicit-any
): { known: boolean; displayName: string; profileImageUrl?: string } { ): { known: boolean; displayName: string; profileImageUrl?: string } {
if (!did) return { displayName: "Someone Unnamed/Unknown", known: false }; if (!did) return { displayName: "Someone Not Named", known: false };
if (did === activeDid) { if (did === activeDid) {
return { displayName: "You", known: true }; return { displayName: "You", known: true };
} else if (contact) { } else if (contact) {

2
src/views/ContactGiftingView.vue

@ -24,7 +24,7 @@
icon="circle-question" icon="circle-question"
class="text-slate-400 text-4xl" class="text-slate-400 text-4xl"
/> />
<span class="italic text-slate-400">(Unnamed/Unknown)</span> <span class="italic text-slate-400">(Not Named)</span>
</span> </span>
<span class="text-right"> <span class="text-right">
<button <button

Loading…
Cancel
Save