Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(electron): download tip (#3711)

Alex Yang582059f6d66d
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) => {