Merge pull request #3977 from Bnyro/master

Fix crash when restoring subscription groups
This commit is contained in:
Bnyro 2023-06-11 14:47:00 +02:00 committed by GitHub
commit d85a384672
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ interface SubscriptionGroupsDao {
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun createGroup(subscriptionGroup: SubscriptionGroup)
@Insert
@Insert(onConflict = OnConflictStrategy.REPLACE)
suspend fun insertAll(subscriptionGroups: List<SubscriptionGroup>)
@Query("DELETE FROM subscriptionGroups WHERE name = :name")