fix(electron): download tip (#3711)

This commit is contained in:
Alex Yang authored and GitHub committed 2023-08-12 01:11:19 +00:00
1 parent 1484818974
commit 582059f6d6
1 file changed
+4
+4
View File
@@ -70,12 +70,16 @@ export const guideOnboardingAtom = atom<
})); }));
} }
); );
export const guideDownloadClientTipAtom = atom< export const guideDownloadClientTipAtom = atom<
Guide['downloadClientTip'], Guide['downloadClientTip'],
[open: boolean], [open: boolean],
void void
>( >(
get => { get => {
if (environment.isDesktop) {
return false;
}
return get(guidePrimitiveAtom).downloadClientTip; return get(guidePrimitiveAtom).downloadClientTip;
}, },
(_, set, open) => { (_, set, open) => {