Added UPI payment link for indian support
This commit is contained in:
parent
d1ecdab42b
commit
954dfb6327
7 changed files with 198 additions and 19 deletions
|
@ -19,7 +19,12 @@ object MaterialUtil {
|
|||
val context = button.context
|
||||
val colorState = ColorStateList.valueOf(color)
|
||||
val textColor =
|
||||
ColorStateList.valueOf(MaterialValueHelper.getPrimaryTextColor(context, ColorUtil.isColorLight(color)))
|
||||
ColorStateList.valueOf(
|
||||
MaterialValueHelper.getPrimaryTextColor(
|
||||
context,
|
||||
ColorUtil.isColorLight(color)
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if (background) {
|
||||
|
@ -56,7 +61,12 @@ object MaterialUtil {
|
|||
val context = temp.context
|
||||
val colorState = ColorStateList.valueOf(color)
|
||||
val textColor =
|
||||
ColorStateList.valueOf(MaterialValueHelper.getPrimaryTextColor(context, ColorUtil.isColorLight(color)))
|
||||
ColorStateList.valueOf(
|
||||
MaterialValueHelper.getPrimaryTextColor(
|
||||
context,
|
||||
ColorUtil.isColorLight(color)
|
||||
)
|
||||
)
|
||||
|
||||
if (background) {
|
||||
temp.backgroundTintList = colorState
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue