diff --git a/package.json b/package.json index 33504941..38e505a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lx-music-mobile", - "version": "1.3.0-beta.1", + "version": "8.8.8-肥猫宝贝", "versionCode": 63, "private": true, "scripts": { @@ -88,4 +88,4 @@ "eslint-plugin-react-hooks": "^4.6.0", "typescript": "^5.4.2" } -} +} \ No newline at end of file diff --git a/src/navigation/components/PactModal.tsx b/src/navigation/components/PactModal.tsx index 3998165a..6d432da2 100644 --- a/src/navigation/components/PactModal.tsx +++ b/src/navigation/components/PactModal.tsx @@ -66,7 +66,7 @@ const Footer = ({ componentId }: { componentId: string }) => { const theme = useTheme() const isAgreePact = useSettingValue('common.isAgreePact') // const checkUpdate = useDispatch('common', 'checkUpdate') - const [time, setTime] = useState(20) + const [time, setTime] = useState(1) const handleRejct = () => { exitApp() @@ -121,7 +121,7 @@ const Footer = ({ componentId }: { componentId: string }) => { return () => { timeoutTools.clear() } - // eslint-disable-next-line react-hooks/exhaustive-deps + // eslint-disable-next-line react-hooks/exhaustive-deps }, []) return ( @@ -130,18 +130,18 @@ const Footer = ({ componentId }: { componentId: string }) => { isAgreePact ? null : ( - 若你(使用者)接受以上协议,请点击下面的“接受”按钮签署本协议,若不接受,请点击“不接受”后退出软件并清除本软件的所有数据。 - ) + 若你(使用者)接受以上协议,请点击下面的“接受”按钮签署本协议,若不接受,请点击“不接受”后退出软件并清除本软件的所有数据。 + ) } { isAgreePact ? null : ( - - ) + + ) }