Fixed safeStorageContext issue in getStrokeColor method

This commit is contained in:
merkost 2023-06-13 18:09:45 +10:00
parent 3e9d8e6bb0
commit 14e761127d
1 changed files with 1 additions and 1 deletions

View File

@ -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 {