Redesign gesture settings

This commit is contained in:
MM20
2026-04-06 12:07:29 +02:00
parent b07773a8cc
commit b9c227be23
18 changed files with 826 additions and 466 deletions

View File

@@ -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, ?, ?)," +

View File

@@ -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()),
)
}
}