Fix favourites erased when new circulars are saved

This commit is contained in:
Matte23 authored and Matte23 committed 2019-10-04 18:25:00 +02:00
1 parent 73bbea60cf
commit ea9ce33fbc
1 file changed
+1 -1
@@ -47,7 +47,7 @@ interface CircularDao {
@Query("SELECT * FROM circulars WHERE reminder AND name LIKE :query ORDER BY id DESC")
fun searchReminders(query: String): LiveData<List<Circular>>
@Insert(onConflict = OnConflictStrategy.REPLACE)
@Insert(onConflict = OnConflictStrategy.IGNORE)
fun insertAll(circulars: List<Circular>)
@Update