Merge branch 'master' into active_did_redux

This commit is contained in:
Matthew Raymer
2025-09-16 08:22:59 +00:00
16 changed files with 228 additions and 154 deletions

View File

@@ -54,6 +54,7 @@ import { generateEndorserJwtUrlForAccount } from "../libs/endorserServer";
import { PlatformServiceMixin } from "@/utils/PlatformServiceMixin";
import { Settings } from "@/db/tables/settings";
import { Account } from "@/db/tables/accounts";
import { copyToClipboard } from "../services/ClipboardService";
import { createNotifyHelpers, TIMEOUTS } from "@/utils/notify";
// Constants for magic numbers
@@ -99,7 +100,7 @@ export default class ShareMyContactInfoView extends Vue {
}
const message = await this.generateContactMessage(settings, account);
await this.copyToClipboard(message);
await copyToClipboard(message);
await this.showSuccessNotifications();
this.navigateToContacts();
} catch (error) {
@@ -141,14 +142,6 @@ export default class ShareMyContactInfoView extends Vue {
);
}
/**
* Copy the contact message to clipboard
*/
private async copyToClipboard(message: string): Promise<void> {
const { copyToClipboard } = await import("../services/ClipboardService");
await copyToClipboard(message);
}
/**
* Show success notifications after copying
*/