Merge branch 'Yidadaa:main' into main

This commit is contained in:
Hk-Gosuto
2023-10-10 15:14:18 +08:00
committed by GitHub
4 changed files with 4 additions and 10 deletions

View File

@@ -132,8 +132,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();