mirror of
https://github.com/Matte23/circolapp.git
synced 2025-12-06 07:29:10 +00:00
Fix favourites erased when new circulars are saved
This commit is contained in:
@@ -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