do not display incoming notification transaction in ui

This commit is contained in:
julian 2023-01-27 10:04:55 -06:00
parent b76c9e6c6b
commit 6d7284d216

View file

@ -151,8 +151,16 @@ class DogecoinWallet extends CoinServiceAPI
Future<List<isar_models.UTXO>> get utxos => db.getUTXOs(walletId).findAll();
@override
Future<List<isar_models.Transaction>> get transactions =>
db.getTransactions(walletId).sortByTimestampDesc().findAll();
Future<List<isar_models.Transaction>> get transactions => db
.getTransactions(walletId)
.filter()
.not()
.group((q) => q
.subTypeEqualTo(isar_models.TransactionSubType.bip47Notification)
.and()
.typeEqualTo(isar_models.TransactionType.incoming))
.sortByTimestampDesc()
.findAll();
@override
Coin get coin => _coin;