Store themed attribute per icon pack icon
This commit is contained in:
@@ -11,5 +11,6 @@ data class IconEntity(
|
||||
val drawable: String?,
|
||||
val iconPack: String,
|
||||
val name: String?,
|
||||
val themed: Boolean = false,
|
||||
@PrimaryKey(autoGenerate = true) val id : Long? = null
|
||||
)
|
||||
@@ -13,6 +13,7 @@ class Migration_19_20: Migration(19, 20) {
|
||||
`drawable` TEXT,
|
||||
`iconPack` TEXT NOT NULL,
|
||||
`name` TEXT,
|
||||
`themed` INTEGER NOT NULL DEFAULT 0,
|
||||
`id` INTEGER PRIMARY KEY AUTOINCREMENT)
|
||||
""")
|
||||
database.execSQL("INSERT INTO `Icons` (`type`, `componentName`, `drawable`, `iconPack`, `themed`, `name`) SELECT `type`, `componentName`, `drawable`, `iconPack`, null FROM `Icons_old`")
|
||||
|
||||
Reference in New Issue
Block a user