修复代码问题

This commit is contained in:
lyswhut 2024-01-21 16:12:13 +08:00
parent 491fd957a4
commit 2620ab47b0
3 changed files with 3 additions and 4 deletions

View File

@ -178,7 +178,7 @@ jobs:
android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-x86_64.apk android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-x86_64.apk
android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-x86.apk android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-x86.apk
android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-universal.apk android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-universal.apk
android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-android_5-universal.apk
android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-sl-arm64-v8a.apk android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-sl-arm64-v8a.apk
# android/app/build/outputs/apk/release/lx-music-mobile-v${{ env.PACKAGE_VERSION }}-android_5-universal.apk
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -18,7 +18,7 @@ export interface DrawerLayoutFixedType {
const DrawerLayoutFixed = forwardRef<DrawerLayoutFixedType, Props>(({ visibleNavNames, widthPercentage, widthPercentageMax, children, ...props }, ref) => { const DrawerLayoutFixed = forwardRef<DrawerLayoutFixedType, Props>(({ visibleNavNames, widthPercentage, widthPercentageMax, children, ...props }, ref) => {
const drawerLayoutRef = useRef<DrawerLayoutAndroid>(null) const drawerLayoutRef = useRef<DrawerLayoutAndroid>(null)
const [w, setW] = useState<number | string>('100%') const [w, setW] = useState<number | `${number}%`>('100%')
const [drawerWidth, setDrawerWidth] = useState(0) const [drawerWidth, setDrawerWidth] = useState(0)
const changedRef = useRef({ width: 0, changed: false }) const changedRef = useRef({ width: 0, changed: false })

View File

@ -17,7 +17,7 @@ import settingState from '@/store/setting/state'
const MIN_VALUE = 60 const MIN_VALUE = 60
const MAX_VALUE = 200 const MAX_VALUE = 200
const Volume = () => { export default () => {
const theme = useTheme() const theme = useTheme()
const playbackRate = Math.trunc(useSettingValue('player.playbackRate') * 100) const playbackRate = Math.trunc(useSettingValue('player.playbackRate') * 100)
const [sliderSize, setSliderSize] = useState(playbackRate) const [sliderSize, setSliderSize] = useState(playbackRate)
@ -71,4 +71,3 @@ const Volume = () => {
) )
} }
export default Volume