diff --git a/app/src/main/java/io/legado/app/data/AppDatabase.kt b/app/src/main/java/io/legado/app/data/AppDatabase.kt index 7a3c62e40..2a59f9cd9 100644 --- a/app/src/main/java/io/legado/app/data/AppDatabase.kt +++ b/app/src/main/java/io/legado/app/data/AppDatabase.kt @@ -83,6 +83,9 @@ abstract class AppDatabase : RoomDatabase() { select ${AppConst.bookGroupNoneId}, '未分组', -7, 1 where not exists (select * from book_groups where groupId = ${AppConst.bookGroupNoneId})""" ) + db.execSQL("update book_sources set loginUi = null where loginUi = 'null'") + db.execSQL("update rssSources set loginUi = null where loginUi = 'null'") + db.execSQL("update httpTTS set loginUi = null where loginUi = 'null'") } }