diff --git a/app/src/main/java/com/github/libretube/db/DatabaseHelper.kt b/app/src/main/java/com/github/libretube/db/DatabaseHelper.kt index 71543ffb9..20704325a 100644 --- a/app/src/main/java/com/github/libretube/db/DatabaseHelper.kt +++ b/app/src/main/java/com/github/libretube/db/DatabaseHelper.kt @@ -68,9 +68,6 @@ object DatabaseHelper { getWatchPosition(videoId) } - fun isVideoWatchedBlocking(videoId: String, duration: Long) = - runBlocking { isVideoWatched(videoId, duration) } - suspend fun isVideoWatched(videoId: String, duration: Long): Boolean = withContext(Dispatchers.IO) { val position = getWatchPosition(videoId) ?: return@withContext false