소스 검색

Merge pull request #2983 from Yidadaa/Yidadaa-patch-1

Yifei Zhang 1 년 전
부모
커밋
f78008c1b2
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      app/components/home.tsx

+ 1 - 2
app/components/home.tsx

@@ -128,8 +128,7 @@ function Screen() {
   const isHome = location.pathname === Path.Home;
   const isAuth = location.pathname === Path.Auth;
   const isMobileScreen = useMobileScreen();
-  const shouldTightBorder =
-    config.tightBorder && !isMobileScreen && getClientConfig()?.isApp;
+  const shouldTightBorder = getClientConfig()?.isApp || (config.tightBorder && !isMobileScreen);
 
   useEffect(() => {
     loadAsyncGoogleFont();