TP-41154 | made error icon red (#7848)

This commit is contained in:
Saurabh Chaudhary
2023-09-20 12:38:16 +05:30
committed by GitHub
parent a24cc32ec7
commit 891215ea3c
5 changed files with 6 additions and 6 deletions

View File

@@ -394,7 +394,7 @@ class OwnContributionProofFragment :
binding.amountStatusText.setCompoundDrawablesWithIntrinsicBounds(
ContextCompat.getDrawable(
it,
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ERROR_ICON_RED)
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ICON_HL_SMALL_SOLID_RED_ALERT)
),
null,
null,

View File

@@ -465,7 +465,7 @@ class RequestInstallmentFragment :
binding.amountStatusText.setCompoundDrawablesWithIntrinsicBounds(
ContextCompat.getDrawable(
it,
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ERROR_ICON_RED)
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ICON_HL_SMALL_SOLID_RED_ALERT)
),
null,
null,

View File

@@ -517,7 +517,7 @@ open class RequestInstallmentFragmentV2 :
binding.amountStatusText.setCompoundDrawablesWithIntrinsicBounds(
ContextCompat.getDrawable(
it,
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ERROR_ICON_RED)
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ICON_HL_SMALL_SOLID_RED_ALERT)
),
null,
null,
@@ -539,7 +539,7 @@ open class RequestInstallmentFragmentV2 :
binding.installmentStatusText.setCompoundDrawablesWithIntrinsicBounds(
ContextCompat.getDrawable(
it,
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ERROR_ICON_RED)
NaviWidgetIconUtils.getImageFromIconCode(NaviWidgetIconUtils.ICON_HL_SMALL_SOLID_RED_ALERT)
),
null,
null,

View File

@@ -417,7 +417,7 @@ object NaviWidgetIconUtils {
private const val ICON_SMALL_DOWNWARD_GREY_ARROW = "ICON_SMALL_DOWNWARD_GREY_ARROW"
private const val ICON_SMALL_BLUE_CIRCLE_MINUS = "ICON_SMALL_BLUE_CIRCLE_MINUS"
private const val ICON_EXTRA_SMALL_CIRCLE_GREEN_TICK = "ICON_EXTRA_SMALL_CIRCLE_GREEN_TICK"
private const val ICON_HL_SMALL_SOLID_RED_ALERT = "ICON_HL_SMALL_SOLID_RED_ALERT"
const val ICON_HL_SMALL_SOLID_RED_ALERT = "ICON_HL_SMALL_SOLID_RED_ALERT"
private const val ICON_HL_SMALL_SOLID_YELLOW_ALERT = "ICON_HL_SMALL_SOLID_YELLOW_ALERT"
private const val ICON_HL_KYC_SELFIE_CAMERA = "ICON_HL_KYC_SELFIE_CAMERA"
private const val ICON_RIGHT_ARROW_IN_ORANGE_CIRCLE = "ICON_RIGHT_ARROW_IN_ORANGE_CIRCLE"

View File

@@ -473,7 +473,7 @@ constructor(context: Context, attrs: AttributeSet? = null) : ConstraintLayout(co
font = FontWeightEnum.TT_REGULAR.name,
size = 12
),
icon = ImageFieldData(iconCode = NaviWidgetIconUtils.ERROR_ICON_RED)
icon = ImageFieldData(iconCode = NaviWidgetIconUtils.ICON_HL_SMALL_SOLID_RED_ALERT)
)
)
return false