From 582059f6d66d96bade4a057b7af0f36af419e7b5 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Fri, 11 Aug 2023 21:11:19 -0400 Subject: [PATCH] fix(electron): download tip (#3711) --- apps/core/src/atoms/guide.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/core/src/atoms/guide.ts b/apps/core/src/atoms/guide.ts index 06535ac875..c17d4a2ba3 100644 --- a/apps/core/src/atoms/guide.ts +++ b/apps/core/src/atoms/guide.ts @@ -70,12 +70,16 @@ export const guideOnboardingAtom = atom< })); } ); + export const guideDownloadClientTipAtom = atom< Guide['downloadClientTip'], [open: boolean], void >( get => { + if (environment.isDesktop) { + return false; + } return get(guidePrimitiveAtom).downloadClientTip; }, (_, set, open) => {