From e7a8bc41d1f95ca9f0840e03c465619c706e5b79 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Thu, 9 May 2024 10:50:41 +1200 Subject: [PATCH] Disable sync party & materialious share links if native --- materialious/src/routes/+layout.svelte | 10 +++++---- .../src/routes/channel/[slug]/+page.svelte | 15 ++++++++----- .../src/routes/watch/[slug]/+page.svelte | 22 +++++++++++-------- 3 files changed, 28 insertions(+), 19 deletions(-) diff --git a/materialious/src/routes/+layout.svelte b/materialious/src/routes/+layout.svelte index d41cb590..b3e2f1f6 100644 --- a/materialious/src/routes/+layout.svelte +++ b/materialious/src/routes/+layout.svelte @@ -204,10 +204,12 @@ {#if mobileSearchShow} (mobileSearchShow = false)} /> {:else} - + {#if !Capacitor.isNativePlatform()} + + {/if} {#if isLoggedIn}