diff --git a/app/src/main/java/net/bible/service/db/DatabaseContainer.kt b/app/src/main/java/net/bible/service/db/DatabaseContainer.kt index e1fa2adbf0..9960f538c7 100644 --- a/app/src/main/java/net/bible/service/db/DatabaseContainer.kt +++ b/app/src/main/java/net/bible/service/db/DatabaseContainer.kt @@ -995,6 +995,8 @@ private val MIGRATION_58_59_workspace_colors = object : Migration(58, 59) { colDefs.forEach { execSQL("ALTER TABLE `Workspace` ADD COLUMN $it") execSQL("ALTER TABLE `PageManager` ADD COLUMN $it") + execSQL("UPDATE `Workspace` SET text_display_settings_colors_dayWorkspaceColor = -12303292") + execSQL("UPDATE `Workspace` SET text_display_settings_colors_nightWorkspaceColor = -16777216") } } } diff --git a/db/src/main/java/net/bible/android/database/WorkspaceEntities.kt b/db/src/main/java/net/bible/android/database/WorkspaceEntities.kt index 64653fce45..328052b488 100644 --- a/db/src/main/java/net/bible/android/database/WorkspaceEntities.kt +++ b/db/src/main/java/net/bible/android/database/WorkspaceEntities.kt @@ -246,8 +246,8 @@ class WorkspaceEntities { nightTextColor = white, nightNoise = 0, dayNoise = 0, - dayWorkspaceColor = Color.parseColor("#ff444444"), - nightWorkspaceColor = Color.parseColor("#ff000000") + dayWorkspaceColor = Color.parseColor("#ff444444"), // -12303292 + nightWorkspaceColor = Color.parseColor("#ff000000"), // -16777216 ), marginSize = MarginSize( marginLeft = 3,