mirror of
https://github.com/sudoxnym/habitica-android.git
synced 2026-05-21 21:29:00 +00:00
fix text color
This commit is contained in:
parent
454d6af92c
commit
6583b14b6e
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue