pull/1395/head
gedoor 3 years ago
parent d71e33f539
commit 605e5064e0
  1. 3
      app/src/main/java/io/legado/app/data/AppDatabase.kt

@ -83,6 +83,9 @@ abstract class AppDatabase : RoomDatabase() {
select ${AppConst.bookGroupNoneId}, '未分组', -7, 1 select ${AppConst.bookGroupNoneId}, '未分组', -7, 1
where not exists (select * from book_groups where groupId = ${AppConst.bookGroupNoneId})""" 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'")
} }
} }

Loading…
Cancel
Save