mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Remove unused WatchPositionDao methods.
This commit is contained in:
parent
8daa1b7745
commit
c464fe05d5
@ -1,7 +1,6 @@
|
||||
package com.github.libretube.db.dao
|
||||
|
||||
import androidx.room.Dao
|
||||
import androidx.room.Delete
|
||||
import androidx.room.Insert
|
||||
import androidx.room.OnConflictStrategy
|
||||
import androidx.room.Query
|
||||
@ -18,12 +17,6 @@ interface WatchPositionDao {
|
||||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
suspend fun insertAll(vararg watchPositions: WatchPosition)
|
||||
|
||||
@Delete
|
||||
suspend fun delete(watchPosition: WatchPosition)
|
||||
|
||||
@Query("DELETE FROM watchHistoryItem WHERE videoId = :videoId")
|
||||
suspend fun deleteById(videoId: String)
|
||||
|
||||
@Query("DELETE FROM watchPosition")
|
||||
suspend fun deleteAll()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user