diff --git a/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt index 1d6f44f..9f2f28d 100644 --- a/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/keyboard/extensions/Context.kt @@ -47,7 +47,7 @@ fun Context.getStrokeColor(): Int { resources.getColor(R.color.md_grey_400, theme) } } else { - val lighterColor = getProperBackgroundColor().lightenColor() + val lighterColor = safeStorageContext.getProperBackgroundColor().lightenColor() if (lighterColor == Color.WHITE || lighterColor == Color.BLACK) { resources.getColor(R.color.divider_grey, theme) } else {