diff --git a/src/components/InfiniteScroll.vue b/src/components/InfiniteScroll.vue
new file mode 100644
index 0000000..2afdb9e
--- /dev/null
+++ b/src/components/InfiniteScroll.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue
index f9cce60..9a9f87e 100644
--- a/src/views/AccountViewView.vue
+++ b/src/views/AccountViewView.vue
@@ -89,9 +89,15 @@
ID
{{ activeDid }}
-
{{ publicBase64 }}
-
+ (showB64Copy = !showB64Copy))
+ "
+ class="ml-2"
+ >
+ Copied!
Public Key (hex)
{{ publicHex }}
-
+ (showPubCopy = !showPubCopy))
+ "
+ class="ml-2"
+ >
+ Copied!
Derivation Path
{{ derivationPath }}
-
+ (showDerCopy = !showDerCopy))
+ "
+ class="ml-2"
+ >
+ Copied!
@@ -288,7 +312,18 @@ export default class AccountViewView extends Vue {
limits: RateLimits | null = null;
showContactGives = false;
- copy = useClipboard().copy;
+ showDidCopy = false;
+ showDerCopy = false;
+ showB64Copy = false;
+ showPubCopy = false;
+
+ // call fn, copy text to the clipboard, then redo fn after 2 seconds
+ doCopyTwoSecRedo(text, fn) {
+ fn();
+ useClipboard()
+ .copy(text)
+ .then(() => setTimeout(fn, 2000));
+ }
handleChange() {
this.showContactGives = !this.showContactGives;
@@ -306,7 +341,6 @@ export default class AccountViewView extends Vue {
// assign this to a class variable, eg. "registerThisUser = testServerRegisterUser",
// select a component in the extension, and enter in the console: $vm.ctx.registerThisUser()
//testServerRegisterUser();
-
try {
await db.open();
const settings = await db.settings.get(MASTER_SETTINGS_KEY);