feat: 优化

pull/209/head
kunfei 5 years ago
parent 043f8fbe0f
commit a5e2fdb312
  1. 2
      app/src/main/java/io/legado/app/data/AppDatabase.kt
  2. 2
      app/src/main/java/io/legado/app/data/entities/RssSource.kt

@ -57,7 +57,7 @@ abstract class AppDatabase : RoomDatabase() {
override fun migrate(database: SupportSQLiteDatabase) {
database.execSQL(
"""
ALTER TABLE rssSources ADD css TEXT
ALTER TABLE rssSources ADD style TEXT
"""
)
}

@ -34,7 +34,7 @@ data class RssSource(
var ruleImage: String? = null,
var ruleLink: String? = null,
var ruleContent: String? = null,
var css: String? = null,
var style: String? = null,
var header: String? = null,
var enableJs: Boolean = false,
var loadWithBaseUrl: Boolean = false,

Loading…
Cancel
Save