mirror of
https://github.com/Matte23/circolapp.git
synced 2026-10-15 23:45:16 +00:00
Fix favourites erased when new circulars are saved
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user