Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Dec 7, 2024
1 parent e4926b4 commit be9d821
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class RadioQueue(private val symphony: Symphony) {
}

val currentSongId: String?
private get() = getSongIdAt(currentSongIndex)
get() = getSongIdAt(currentSongIndex)

fun hasSongAt(index: Int) = index > -1 && index < currentQueue.size
fun getSongIdAt(index: Int) = if (hasSongAt(index)) currentQueue[index] else null
Expand Down

0 comments on commit be9d821

Please sign in to comment.