fix text color

This commit is contained in:
Phillip Thelen 2023-09-15 11:24:27 +02:00
parent 454d6af92c
commit 6583b14b6e

View file

@ -438,8 +438,8 @@ class PurchaseDialog(
}
val rightTextColor = when (item.currency) {
"gold" -> ContextCompat.getColor(context, R.color.yellow_5)
"gems" -> ContextCompat.getColor(context, R.color.text_green)
"hourglasses" -> ContextCompat.getColor(context, R.color.text_brand)
"gems" -> ContextCompat.getColor(context, R.color.green_10)
"hourglasses" -> ContextCompat.getColor(context, R.color.brand_300)
else -> 0
}
val a = (application?.currentActivity?.get() ?: getActivity() ?: ownerActivity)