diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlaylistFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlaylistFragment.kt index dd2c2fbe3..c72388081 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlaylistFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlaylistFragment.kt @@ -136,7 +136,7 @@ class PlaylistFragment : BaseFragment() { isBookmarked = !isBookmarked updateBookmarkRes() query { - if (isBookmarked) { + if (!isBookmarked) { DatabaseHolder.Database.playlistBookmarkDao().delete( DatabaseHolder.Database.playlistBookmarkDao().findById(playlistId!!) )