feat: is inside a tauri app then don't show warning

This commit is contained in:
Lin Onetwo
2022-12-19 22:36:18 +08:00
committed by DarkSky
parent 0240feb7f1
commit 3c582b03d7
2 changed files with 7 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ const minimumChromeVersion = 102;
export const shouldShowWarning = () => {
return (
!window.CLIENT_APP &&
!getIsMobile() &&
(!getIsChrome() || getChromeVersion() < minimumChromeVersion)
);