From 40f28ed632fa781b789c7b9a1f69dc0a87a15629 Mon Sep 17 00:00:00 2001 From: Marcus Virginia Date: Sun, 17 Dec 2023 17:03:21 -0600 Subject: [PATCH] chore: add import contacts to nav actions --- .../src/common/components/NavActions.svelte | 4 ++-- .../connection/pages/ConnectionListPage.svelte | 13 ++----------- .../src/modules/invite/services/contactProviders.ts | 2 +- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/apps/resplice/src/common/components/NavActions.svelte b/apps/resplice/src/common/components/NavActions.svelte index c0dd336..37a4f1f 100644 --- a/apps/resplice/src/common/components/NavActions.svelte +++ b/apps/resplice/src/common/components/NavActions.svelte @@ -61,7 +61,7 @@ class="bg-white rounded-xl p-8 flex flex-col items-start space-y-4" style="will-change: transform; transform: translateY({$translateY}px) scale({$scale})" > - + - diff --git a/apps/resplice/src/modules/invite/services/contactProviders.ts b/apps/resplice/src/modules/invite/services/contactProviders.ts index 549ce59..ebb50dd 100644 --- a/apps/resplice/src/modules/invite/services/contactProviders.ts +++ b/apps/resplice/src/modules/invite/services/contactProviders.ts @@ -108,7 +108,7 @@ export async function getNativeContacts(): Promise { return { id: idx.toString(), name: c.name[0], - avatar: c.icon ? c.icon[0] || '' : '', + avatar: c.icon ? URL.createObjectURL(c.icon[0]) || '' : '', attributes: attributes } })