mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
commit
2a24712a9a
@ -245,8 +245,7 @@ class PlaylistFragment : BaseFragment() {
|
|||||||
// update the playlist thumbnail if bookmarked
|
// update the playlist thumbnail if bookmarked
|
||||||
val playlistBookmark = awaitQuery {
|
val playlistBookmark = awaitQuery {
|
||||||
DatabaseHolder.Database.playlistBookmarkDao().getAll()
|
DatabaseHolder.Database.playlistBookmarkDao().getAll()
|
||||||
.firstOrNull { it.playlistId == playlistId }
|
}.firstOrNull { it.playlistId == playlistId }
|
||||||
}
|
|
||||||
playlistBookmark?.let {
|
playlistBookmark?.let {
|
||||||
if (playlistBookmark.thumbnailUrl != response.thumbnailUrl) {
|
if (playlistBookmark.thumbnailUrl != response.thumbnailUrl) {
|
||||||
playlistBookmark.thumbnailUrl = response.thumbnailUrl
|
playlistBookmark.thumbnailUrl = response.thumbnailUrl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user