mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 14:37:59 +01:00
removing an unused debug function
This commit is contained in:
parent
817229a697
commit
665690c819
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,9 @@
|
|||
package com.simplemobiletools.gallery.pro.interfaces
|
||||
|
||||
import androidx.room.*
|
||||
import androidx.room.Dao
|
||||
import androidx.room.Insert
|
||||
import androidx.room.OnConflictStrategy
|
||||
import androidx.room.Query
|
||||
import com.simplemobiletools.gallery.pro.models.Favorite
|
||||
|
||||
@Dao
|
||||
|
@ -11,9 +14,6 @@ interface FavoritesDao {
|
|||
@Insert(onConflict = OnConflictStrategy.REPLACE)
|
||||
fun insertAll(favorites: List<Favorite>)
|
||||
|
||||
@Query("SELECT full_path FROM favorites")
|
||||
fun getFavoriteRawPaths(): List<String>
|
||||
|
||||
@Query("SELECT favorites.full_path FROM favorites INNER JOIN media ON favorites.full_path = media.full_path WHERE media.deleted_ts = 0")
|
||||
fun getValidFavoritePaths(): List<String>
|
||||
|
||||
|
|
Loading…
Reference in a new issue