Fixed safeStorageContext issue in getStrokeColor method
This commit is contained in:
parent
3e9d8e6bb0
commit
14e761127d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue