mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-05 21:58:56 +08:00
版本管理
This commit is contained in:
parent
57d6425a56
commit
a9c7d19e52
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "lx-music-mobile",
|
"name": "lx-music-mobile",
|
||||||
"version": "1.3.0-beta.1",
|
"version": "8.8.8-肥猫宝贝",
|
||||||
"versionCode": 63,
|
"versionCode": 63,
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -88,4 +88,4 @@
|
|||||||
"eslint-plugin-react-hooks": "^4.6.0",
|
"eslint-plugin-react-hooks": "^4.6.0",
|
||||||
"typescript": "^5.4.2"
|
"typescript": "^5.4.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -66,7 +66,7 @@ const Footer = ({ componentId }: { componentId: string }) => {
|
|||||||
const theme = useTheme()
|
const theme = useTheme()
|
||||||
const isAgreePact = useSettingValue('common.isAgreePact')
|
const isAgreePact = useSettingValue('common.isAgreePact')
|
||||||
// const checkUpdate = useDispatch('common', 'checkUpdate')
|
// const checkUpdate = useDispatch('common', 'checkUpdate')
|
||||||
const [time, setTime] = useState(20)
|
const [time, setTime] = useState(1)
|
||||||
|
|
||||||
const handleRejct = () => {
|
const handleRejct = () => {
|
||||||
exitApp()
|
exitApp()
|
||||||
@ -121,7 +121,7 @@ const Footer = ({ componentId }: { componentId: string }) => {
|
|||||||
return () => {
|
return () => {
|
||||||
timeoutTools.clear()
|
timeoutTools.clear()
|
||||||
}
|
}
|
||||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@ -130,18 +130,18 @@ const Footer = ({ componentId }: { componentId: string }) => {
|
|||||||
isAgreePact
|
isAgreePact
|
||||||
? null
|
? null
|
||||||
: (
|
: (
|
||||||
<Text selectable style={styles.tip} size={13}>若你(使用者)接受以上协议,请点击下面的“接受”按钮签署本协议,若不接受,请点击“不接受”后退出软件并清除本软件的所有数据。</Text>
|
<Text selectable style={styles.tip} size={13}>若你(使用者)接受以上协议,请点击下面的“接受”按钮签署本协议,若不接受,请点击“不接受”后退出软件并清除本软件的所有数据。</Text>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
<View style={styles.btns}>
|
<View style={styles.btns}>
|
||||||
{
|
{
|
||||||
isAgreePact
|
isAgreePact
|
||||||
? null
|
? null
|
||||||
: (
|
: (
|
||||||
<Button style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleRejct}>
|
<Button style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleRejct}>
|
||||||
<Text color={theme['c-button-font']}>不同意</Text>
|
<Text color={theme['c-button-font']}>不同意</Text>
|
||||||
</Button>
|
</Button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
<Button disabled={confirmBtn.disabled} style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleConfirm}>
|
<Button disabled={confirmBtn.disabled} style={{ ...styles.btn, backgroundColor: theme['c-button-background'] }} onPress={handleConfirm}>
|
||||||
<Text color={theme['c-button-font']}>{confirmBtn.text}</Text>
|
<Text color={theme['c-button-font']}>{confirmBtn.text}</Text>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user