Add the functionality to filter all transactions sent to the agorise account, which are presumably transaction network fees.

This commit is contained in:
Severiano Jaramillo 2019-01-15 21:28:24 -06:00
parent 027f690480
commit 3014e12a5a

View file

@ -169,6 +169,10 @@ class TransactionsFragment : Fragment(), FilterOptionsDialog.OnFilterOptionsSele
// if (!filterFiatAmountAll && (transferDetail.fiatAmount < filterFromFiatAmount || transferDetail.fiatAmount > filterToFiatAmount))
// continue
// Filter transactions sent to agorise
if (filterAgoriseFees && transferDetail.to.equals("agorise"))
continue
// Filter by search query
val text = (transferDetail.from ?: "").toLowerCase() + (transferDetail.to ?: "").toLowerCase()
if (text.contains(filterQuery, ignoreCase = true)) {