Fix nullable
This commit is contained in:
parent
6383cc4d39
commit
99a10446d5
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ constructor(
|
||||||
try {
|
try {
|
||||||
for (item in items) {
|
for (item in items) {
|
||||||
if (item.itemId.toString() == player.currentMediaItem?.mediaId ?: "") {
|
if (item.itemId.toString() == player.currentMediaItem?.mediaId ?: "") {
|
||||||
_currentItemTitle.value = item.name
|
_currentItemTitle.value = item.name.orEmpty()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
jellyfinRepository.postPlaybackStart(UUID.fromString(mediaItem?.mediaId))
|
jellyfinRepository.postPlaybackStart(UUID.fromString(mediaItem?.mediaId))
|
||||||
|
|
Loading…
Reference in a new issue