From cfced34c2d534c5d21319b09479805bf2bcd085d Mon Sep 17 00:00:00 2001 From: gedoor Date: Sun, 18 Oct 2020 20:41:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/io/legado/app/data/AppDatabase.kt | 2 -- 1 file changed, 2 deletions(-) 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 dc144493b..ab989580e 100644 --- a/app/src/main/java/io/legado/app/data/AppDatabase.kt +++ b/app/src/main/java/io/legado/app/data/AppDatabase.kt @@ -49,12 +49,10 @@ abstract class AppDatabase: RoomDatabase() { private val dbCallback = object : Callback() { override fun onCreate(db: SupportSQLiteDatabase) { - super.onCreate(db) db.setLocale(Locale.CHINESE) } override fun onOpen(db: SupportSQLiteDatabase) { - db.setLocale(Locale.CHINESE) db.execSQL( """ insert into book_groups(groupId, groupName, 'order', show) select ${AppConst.bookGroupAllId}, '全部', -10, 1