NTP-36544 | Sidharth Bamba | placeholder added for payee details (#15599)
This commit is contained in:
@@ -292,10 +292,11 @@ fun PayeeDetailSection(
|
||||
orderEntity.orderDescription.substringAfter(AT_THE_RATE_CHAR) in upiAppsIconList
|
||||
) {
|
||||
AsyncImage(
|
||||
modifier = Modifier.size(size = 24.dp).padding(end = 8.dp),
|
||||
modifier = Modifier.padding(end = 8.dp),
|
||||
model =
|
||||
"$upiAppLogoBaseUrl${orderEntity.orderDescription.substringAfter(AT_THE_RATE_CHAR)}$DOT_PNG",
|
||||
contentDescription = null,
|
||||
placeholder = painterResource(id = R.drawable.ic_add_bank),
|
||||
)
|
||||
}
|
||||
|
||||
@@ -341,6 +342,7 @@ fun PayeeDetailSection(
|
||||
transactionBankInfo?.otherUserBankInfo?.bankUiModel?.iconUrl.orEmpty(),
|
||||
contentDescription = EMPTY,
|
||||
fallback = painterResource(id = R.drawable.ic_add_bank),
|
||||
placeholder = painterResource(id = R.drawable.ic_add_bank),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user