make the user-name pop-up the preferred way to set the name
This commit is contained in:
@@ -25,13 +25,16 @@
|
||||
<span class="text-red">Beware!</span>
|
||||
You aren't sharing your name, so quickly
|
||||
<br />
|
||||
<router-link
|
||||
:to="{ name: 'new-edit-account' }"
|
||||
<span
|
||||
@click="
|
||||
() => $refs.userNameDialog.open((name) => (this.givenName = name))
|
||||
"
|
||||
class="bg-gradient-to-b from-blue-400 to-blue-700 shadow-[inset_0_-1px_0_0_rgba(0,0,0,0.5)] text-white px-1.5 py-1 rounded-md"
|
||||
>
|
||||
click here to set it for them.
|
||||
</router-link>
|
||||
</span>
|
||||
</p>
|
||||
<UserNameDialog ref="userNameDialog" />
|
||||
</div>
|
||||
|
||||
<div
|
||||
@@ -50,7 +53,7 @@
|
||||
class="flex justify-center"
|
||||
/>
|
||||
<span>
|
||||
Click this or QR code to copy your contact URL to your clipboard.
|
||||
Click the QR code to copy your contact info to your clipboard.
|
||||
</span>
|
||||
</div>
|
||||
<div v-else-if="activeDid" class="text-center">
|
||||
@@ -96,6 +99,7 @@ import { QrcodeStream } from "vue-qrcode-reader";
|
||||
import { useClipboard } from "@vueuse/core";
|
||||
|
||||
import QuickNav from "@/components/QuickNav.vue";
|
||||
import UserNameDialog from "@/components/UserNameDialog.vue";
|
||||
import { NotificationIface } from "@/constants/app";
|
||||
import { accountsDB, db } from "@/db/index";
|
||||
import { Contact } from "@/db/tables/contacts";
|
||||
@@ -121,6 +125,7 @@ import { ETHR_DID_PREFIX } from "@/libs/crypto/vc";
|
||||
QrcodeStream,
|
||||
QRCodeVue3,
|
||||
QuickNav,
|
||||
UserNameDialog,
|
||||
},
|
||||
})
|
||||
export default class ContactQRScanShow extends Vue {
|
||||
|
||||
Reference in New Issue
Block a user