Add the functionality to filter all transactions sent to the agorise account, which are presumably transaction network fees.
This commit is contained in:
parent
027f690480
commit
3014e12a5a
1 changed files with 4 additions and 0 deletions
|
@ -169,6 +169,10 @@ class TransactionsFragment : Fragment(), FilterOptionsDialog.OnFilterOptionsSele
|
||||||
// if (!filterFiatAmountAll && (transferDetail.fiatAmount < filterFromFiatAmount || transferDetail.fiatAmount > filterToFiatAmount))
|
// if (!filterFiatAmountAll && (transferDetail.fiatAmount < filterFromFiatAmount || transferDetail.fiatAmount > filterToFiatAmount))
|
||||||
// continue
|
// continue
|
||||||
|
|
||||||
|
// Filter transactions sent to agorise
|
||||||
|
if (filterAgoriseFees && transferDetail.to.equals("agorise"))
|
||||||
|
continue
|
||||||
|
|
||||||
// Filter by search query
|
// Filter by search query
|
||||||
val text = (transferDetail.from ?: "").toLowerCase() + (transferDetail.to ?: "").toLowerCase()
|
val text = (transferDetail.from ?: "").toLowerCase() + (transferDetail.to ?: "").toLowerCase()
|
||||||
if (text.contains(filterQuery, ignoreCase = true)) {
|
if (text.contains(filterQuery, ignoreCase = true)) {
|
||||||
|
|
Loading…
Reference in a new issue