Skip to content

Commit

Permalink
修复打开空的歌单时,点击播放全部会导致应用崩溃的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed May 23, 2021
1 parent f32f8b3 commit 5f4ccb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion publish/changeLog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 修复

- 修复手机分享的wy歌单、某些tx、kg歌单无法打开的问题

- 修复打开空的歌单时,点击播放全部会导致应用崩溃的问题
1 change: 1 addition & 0 deletions src/screens/Home/SongList/ListDetail/ButtonBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export default memo(() => {
const handlePlayAll = useCallback(async() => {
if (!listDetailData.info.name) return
const list = await getListDetailAll(selectListInfo.id)
if (!list.length) return
setPlayList({
list: {
list,
Expand Down

0 comments on commit 5f4ccb8

Please sign in to comment.