From 415026158e36a298a8ad03de67a4d6ddb62a96fd Mon Sep 17 00:00:00 2001 From: Tibet Sprague Date: Wed, 4 Sep 2024 13:58:42 -0700 Subject: [PATCH] More fixes to back button pressing --- ui/src/routes/account/+page.svelte | 2 +- ui/src/routes/contacts/[id]/+page.svelte | 2 +- ui/src/routes/contacts/new/+page.svelte | 2 +- ui/src/routes/conversations/[id]/+page.svelte | 6 +++--- ui/src/routes/conversations/[id]/details/+page.svelte | 2 +- ui/src/routes/conversations/[id]/invite/+page.svelte | 2 +- ui/src/routes/conversations/join/+page.svelte | 2 +- ui/src/routes/conversations/new/+page.svelte | 2 +- ui/src/routes/create/+page.svelte | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ui/src/routes/account/+page.svelte b/ui/src/routes/account/+page.svelte index 314c7084..d5bf70f7 100644 --- a/ui/src/routes/account/+page.svelte +++ b/ui/src/routes/account/+page.svelte @@ -47,7 +47,7 @@
- +
{#if $prof && $prof.status === 'complete' && $prof.value} diff --git a/ui/src/routes/contacts/[id]/+page.svelte b/ui/src/routes/contacts/[id]/+page.svelte index f5758d8f..4dce2979 100644 --- a/ui/src/routes/contacts/[id]/+page.svelte +++ b/ui/src/routes/contacts/[id]/+page.svelte @@ -11,7 +11,7 @@
-
diff --git a/ui/src/routes/contacts/new/+page.svelte b/ui/src/routes/contacts/new/+page.svelte index c0014498..be68f28a 100644 --- a/ui/src/routes/contacts/new/+page.svelte +++ b/ui/src/routes/contacts/new/+page.svelte @@ -8,7 +8,7 @@
-

{$t('contacts.create_new_contact')}

diff --git a/ui/src/routes/conversations/[id]/+page.svelte b/ui/src/routes/conversations/[id]/+page.svelte index db466b98..95010c60 100644 --- a/ui/src/routes/conversations/[id]/+page.svelte +++ b/ui/src/routes/conversations/[id]/+page.svelte @@ -236,10 +236,10 @@
- + {#if conversation}

- + {conversation.title}

{#if conversation.data.privacy === Privacy.Public || encodeHashToBase64(conversation.data.progenitor) === myPubKeyB64} - + {/if} diff --git a/ui/src/routes/conversations/[id]/details/+page.svelte b/ui/src/routes/conversations/[id]/details/+page.svelte index 51e65775..ae13dcd3 100644 --- a/ui/src/routes/conversations/[id]/details/+page.svelte +++ b/ui/src/routes/conversations/[id]/details/+page.svelte @@ -50,7 +50,7 @@
- + {#if conversation}

{#if conversation.data.privacy === Privacy.Public}{$t('conversations.group_details')}{:else}{conversation.title}{/if}

{#if conversation.data.privacy === Privacy.Private && encodeHashToBase64(conversation.data.progenitor) === relayStore.client.myPubKeyB64} diff --git a/ui/src/routes/conversations/[id]/invite/+page.svelte b/ui/src/routes/conversations/[id]/invite/+page.svelte index 5c38f74c..3cef85e9 100644 --- a/ui/src/routes/conversations/[id]/invite/+page.svelte +++ b/ui/src/routes/conversations/[id]/invite/+page.svelte @@ -57,7 +57,7 @@
-

{$tAny('conversations.add_people', { public: conversation && conversation.data.privacy === Privacy.Public })}

diff --git a/ui/src/routes/conversations/join/+page.svelte b/ui/src/routes/conversations/join/+page.svelte index 24adfc7b..9a7513a9 100644 --- a/ui/src/routes/conversations/join/+page.svelte +++ b/ui/src/routes/conversations/join/+page.svelte @@ -46,7 +46,7 @@
- +

{$t('conversations.join_conversation')}

diff --git a/ui/src/routes/conversations/new/+page.svelte b/ui/src/routes/conversations/new/+page.svelte index 0023b940..0223371b 100644 --- a/ui/src/routes/conversations/new/+page.svelte +++ b/ui/src/routes/conversations/new/+page.svelte @@ -32,7 +32,7 @@
- +

{$t('common.new_group')}

diff --git a/ui/src/routes/create/+page.svelte b/ui/src/routes/create/+page.svelte index f4fb9597..59af03d1 100644 --- a/ui/src/routes/create/+page.svelte +++ b/ui/src/routes/create/+page.svelte @@ -72,7 +72,7 @@
-