mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
fix removing bookmarks
This commit is contained in:
parent
7e984dd57f
commit
3afff16e30
@ -136,7 +136,7 @@ class PlaylistFragment : BaseFragment() {
|
|||||||
isBookmarked = !isBookmarked
|
isBookmarked = !isBookmarked
|
||||||
updateBookmarkRes()
|
updateBookmarkRes()
|
||||||
query {
|
query {
|
||||||
if (isBookmarked) {
|
if (!isBookmarked) {
|
||||||
DatabaseHolder.Database.playlistBookmarkDao().delete(
|
DatabaseHolder.Database.playlistBookmarkDao().delete(
|
||||||
DatabaseHolder.Database.playlistBookmarkDao().findById(playlistId!!)
|
DatabaseHolder.Database.playlistBookmarkDao().findById(playlistId!!)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user