Skip to content

Commit

Permalink
♻️ :: [#1296] 중복된 곡을 삭제할 때 Crash나는 오류 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Sep 22, 2024
1 parent 4f0f8bb commit 214b38f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ final class Playlist {
}

func remove(at index: Int) {
guard list[safe: index] != nil else { return }
list.remove(at: index)
}

Expand Down

0 comments on commit 214b38f

Please sign in to comment.