Redesign gesture settings
This commit is contained in:
@@ -133,7 +133,7 @@ abstract class AppDatabase : RoomDatabase() {
|
||||
)
|
||||
)
|
||||
|
||||
val defaultParentId = WidgetScreenTarget.Default.scopeId
|
||||
val defaultParentId = WidgetScreenTarget.Default.id
|
||||
db.execSQL(
|
||||
"INSERT INTO Widget (`type`, `position`, `id`, `parentId`) VALUES " +
|
||||
"('weather', 0, ?, ?)," +
|
||||
|
||||
@@ -14,7 +14,7 @@ class Migration_30_31 : Migration(30, 31) {
|
||||
SET parentId = ?
|
||||
WHERE parentId IS NULL
|
||||
""".trimIndent(),
|
||||
arrayOf(WidgetScreenTarget.Default.scopeId.toBytes()),
|
||||
arrayOf(WidgetScreenTarget.Default.id.toBytes()),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user