diff --git a/app/src/main/java/sh/sar/basedbank/ui/home/PayMvQrFragment.kt b/app/src/main/java/sh/sar/basedbank/ui/home/PayMvQrFragment.kt index ed58c4c..7c768d9 100644 --- a/app/src/main/java/sh/sar/basedbank/ui/home/PayMvQrFragment.kt +++ b/app/src/main/java/sh/sar/basedbank/ui/home/PayMvQrFragment.kt @@ -110,7 +110,9 @@ class PayMvQrFragment : Fragment() { private fun setupDropdown() { viewModel.accounts.observe(viewLifecycleOwner) { accounts -> val eligible = accounts.filter { - it.profileType != "BML_PREPAID" && it.profileType != "BML_CREDIT" && it.profileType != "BML_DEBIT" && it.profileType != "BML_LOAN" + it.profileType != "BML_PREPAID" && it.profileType != "BML_CREDIT" && it.profileType != "BML_DEBIT" && it.profileType != "BML_LOAN" && + it.bank != "MIB" && // TODO: MIB does not support PayMV QR + !(it.bank == "BML" && it.currencyName.contains("USD", ignoreCase = true)) // TODO: BML USD not supported by MMA } val adapter = QrAccountAdapter(requireContext(), eligible) binding.actvAccount.setAdapter(adapter)