diff --git a/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt b/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt index d8f62d9b8..07f8a4e10 100644 --- a/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/BookSourceDao.kt @@ -17,5 +17,5 @@ interface BookSourceDao { fun insert(bookSource: BookSource): Long @Update - fun update(vararg bookSource: BookSource) + fun update(bookSource: BookSource) } \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt b/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt index d4a2073c0..530620dc6 100644 --- a/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt +++ b/app/src/main/java/io/legado/app/data/dao/ReplaceRuleDao.kt @@ -46,10 +46,10 @@ interface ReplaceRuleDao { fun insert(replaceRule: ReplaceRule): Long @Update - fun update(vararg replaceRules: ReplaceRule) + fun update(replaceRules: ReplaceRule) @Delete - fun delete(vararg replaceRules: ReplaceRule) + fun delete(replaceRules: ReplaceRule) } \ No newline at end of file