mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 06:22:10 +08:00
修复删除列表时会导致应用崩溃的问题
This commit is contained in:
parent
bc9974c7fa
commit
dddf5ab490
@ -292,12 +292,12 @@ const List = memo(({ setVisiblePanel, currentList, handleCancelMultiSelect }) =>
|
||||
break
|
||||
default:
|
||||
list = userList[selectedListIndex]
|
||||
if (!list) return []
|
||||
rename = true
|
||||
remove = true
|
||||
sync = list.source && !!musicSdk[list.source].songList
|
||||
break
|
||||
}
|
||||
if (!list) return []
|
||||
|
||||
return [
|
||||
{ action: 'rename', disabled: !rename, label: t('list_rename') },
|
||||
|
Loading…
x
Reference in New Issue
Block a user