fix build issue applyfahipaycontact
This commit is contained in:
@@ -1126,7 +1126,7 @@ class TransferFragment : Fragment() {
|
||||
|
||||
binding.etTo.setOnItemClickListener { _, _, position, _ ->
|
||||
val contact = adapter.getContact(position) ?: return@setOnItemClickListener
|
||||
if (applyFahipayContact(contact.benefAccount, contact.benefCategoryId, contact.benefNickName)) {
|
||||
if (applyServiceContact(contact.benefAccount, contact.benefCategoryId, contact.benefNickName)) {
|
||||
return@setOnItemClickListener
|
||||
}
|
||||
prefillToDirectly(
|
||||
|
||||
@@ -105,7 +105,7 @@ Each Fahipay favourites list is one payout service (`FahipayService.contactCateg
|
||||
| `FAHIPAY_OOREDOO_BILL` | Ooredoo Bill Pay |
|
||||
| `FAHIPAY_DHIRAAGU_BILL` | Dhiraagu Bill Pay |
|
||||
|
||||
So picking a favourite skips the carrier lookup and the picker. That service is offered as the only transfer type, so it's picked straight away (`TransferFragment.applyFahipayContact`). As with a searched number, that switches the source to the Fahipay wallet and applies the service's amount rules. This happens wherever a favourite is picked:
|
||||
So picking a favourite skips the carrier lookup and the picker. That service is offered as the only transfer type, so it's picked straight away (`TransferFragment.applyServiceContact`). As with a searched number, that switches the source to the Fahipay wallet and applies the service's amount rules. This happens wherever a favourite is picked:
|
||||
|
||||
- the contact picker sheet (the row's category goes back as `ContactPickerSheetFragment.KEY_CATEGORY`)
|
||||
- the "To" field's search-as-you-type dropdown
|
||||
|
||||
Reference in New Issue
Block a user