File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import wechatpay from './donation/wechatpay.jpg'
24
24
import bugmeacoffee from './donation/bugmeacoffee.png'
25
25
import { useWindowTheme } from '../hooks/use-window-theme.mjs'
26
26
import { languageList } from '../config/language.mjs'
27
- import { isSafari } from '../utils/index.mjs'
27
+ import { isMobile , isSafari } from '../utils/index.mjs'
28
28
import { useTranslation } from 'react-i18next'
29
29
30
30
function GeneralPart ( { config, updateConfig } ) {
@@ -506,7 +506,7 @@ function Popup() {
506
506
} , [ config . themeMode , theme ] )
507
507
508
508
const search = new URLSearchParams ( window . location . search )
509
- const popup = search . get ( 'popup' ) // manifest v2
509
+ const popup = search . get ( 'popup' ) && ! isMobile ( ) // manifest v2
510
510
511
511
return (
512
512
< div className = { popup === 'true' ? 'container-popup-mode' : 'container-page-mode' } >
You can’t perform that action at this time.
0 commit comments