mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 07:52:10 +08:00
修复设置侧栏主题背景显示
This commit is contained in:
parent
c121800d80
commit
4410cdab53
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "lx-music-mobile",
|
||||
"version": "1.0.0-beta.14",
|
||||
"version": "1.0.0-beta.15",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "lx-music-mobile",
|
||||
"version": "1.0.0-beta.14",
|
||||
"version": "1.0.0-beta.15",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@craftzdog/react-native-buffer": "^6.0.5",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lx-music-mobile",
|
||||
"version": "1.0.0-beta.14",
|
||||
"version": "1.0.0-beta.15",
|
||||
"versionCode": 53,
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
@ -1,5 +1,7 @@
|
||||
从v1.0.0起,我们发布了一个独立版的[数据同步服务](https://github.com/lyswhut/lx-music-sync-server#readme),如果你有服务器,可以将其部署到服务器上作为私人多端同步服务使用,详情看该项目说明
|
||||
|
||||
由于该版本涉及旧版数据迁移,建议更新前先到设置-备份与恢复备份歌单
|
||||
|
||||
### 不兼容性变更说明
|
||||
|
||||
- 同步功能,该功能不支持与PC端v2.2.0之前的版本使用
|
||||
@ -46,4 +48,4 @@
|
||||
|
||||
### 其他
|
||||
|
||||
- 升级React Native到v0.71.4并启用新架构
|
||||
- 升级React Native到v0.71.4
|
||||
|
@ -9,6 +9,7 @@ import { COMPONENT_IDS } from '@/config/constant'
|
||||
import DrawerLayoutFixed from '@/components/common/DrawerLayoutFixed'
|
||||
import { scaleSizeW } from '@/utils/pixelRatio'
|
||||
import { createStyle } from '@/utils/tools'
|
||||
import { useTheme } from '@/store/theme/hook'
|
||||
|
||||
const MAX_WIDTH = scaleSizeW(300)
|
||||
|
||||
@ -17,6 +18,7 @@ const Content = () => {
|
||||
const headerRef = useRef<HeaderType>(null)
|
||||
const mainRef = useRef<MainType>(null)
|
||||
const drawerLayoutPosition = useSettingValue('common.drawerLayoutPosition')
|
||||
const theme = useTheme()
|
||||
|
||||
const handleChangeId = useCallback((id: SettingScreenIds) => {
|
||||
drawer.current?.closeDrawer()
|
||||
@ -40,6 +42,7 @@ const Content = () => {
|
||||
// drawerWidth={width}
|
||||
drawerPosition={drawerLayoutPosition}
|
||||
renderNavigationView={navigationView}
|
||||
drawerBackgroundColor={theme['c-content-background']}
|
||||
style={{ elevation: 1 }}
|
||||
>
|
||||
<Header ref={headerRef} onShowNavBar={() => drawer.current?.openDrawer()} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user