diff --git a/src/components/InfiniteScroll.vue b/src/components/InfiniteScroll.vue
new file mode 100644
index 000000000..2afdb9ec5
--- /dev/null
+++ b/src/components/InfiniteScroll.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/AccountViewView.vue b/src/views/AccountViewView.vue
index 3f04a19b5..ead80d3bb 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!
@@ -299,7 +323,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;
@@ -317,7 +352,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);