From 86c5a1ae2a871f8a34fd9297bb78e819f1ca1549 Mon Sep 17 00:00:00 2001 From: Alec Ananian <1013230+alecananian@users.noreply.github.com> Date: Mon, 20 Nov 2023 15:03:34 -0800 Subject: [PATCH] only render welcome card on native app --- ui/src/nav/MobileRoot.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ui/src/nav/MobileRoot.tsx b/ui/src/nav/MobileRoot.tsx index 345ba4f41c..0a4d95d82b 100644 --- a/ui/src/nav/MobileRoot.tsx +++ b/ui/src/nav/MobileRoot.tsx @@ -22,6 +22,7 @@ import AddIconMobileNav from '@/components/icons/AddIconMobileNav'; import MagnifyingGlass16Icon from '@/components/icons/MagnifyingGlass16Icon'; import GroupJoinList from '@/groups/GroupJoinList'; import WelcomeCard from '@/components/WelcomeCard'; +import { isNativeApp } from '@/logic/native'; export default function MobileRoot() { const [isScrolling, setIsScrolling] = useState(false); @@ -75,7 +76,7 @@ export default function MobileRoot() { } >