From a3449167dbbe8a439df68cb624246d97c9071cf3 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Sat, 3 Oct 2026 01:39:19 +0500 Subject: [PATCH] fix build issue applyfahipaycontact --- app/src/main/java/sh/sar/basedbank/ui/home/TransferFragment.kt | 2 +- docs/thijooree/20-transfer-flows.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/sh/sar/basedbank/ui/home/TransferFragment.kt b/app/src/main/java/sh/sar/basedbank/ui/home/TransferFragment.kt index d36d029..86e857f 100644 --- a/app/src/main/java/sh/sar/basedbank/ui/home/TransferFragment.kt +++ b/app/src/main/java/sh/sar/basedbank/ui/home/TransferFragment.kt @@ -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( diff --git a/docs/thijooree/20-transfer-flows.md b/docs/thijooree/20-transfer-flows.md index 03d19e8..b1b2c96 100644 --- a/docs/thijooree/20-transfer-flows.md +++ b/docs/thijooree/20-transfer-flows.md @@ -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