mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
do not display incoming notification transaction in ui
This commit is contained in:
parent
b76c9e6c6b
commit
6d7284d216
1 changed files with 10 additions and 2 deletions
|
@ -151,8 +151,16 @@ class DogecoinWallet extends CoinServiceAPI
|
||||||
Future<List<isar_models.UTXO>> get utxos => db.getUTXOs(walletId).findAll();
|
Future<List<isar_models.UTXO>> get utxos => db.getUTXOs(walletId).findAll();
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Future<List<isar_models.Transaction>> get transactions =>
|
Future<List<isar_models.Transaction>> get transactions => db
|
||||||
db.getTransactions(walletId).sortByTimestampDesc().findAll();
|
.getTransactions(walletId)
|
||||||
|
.filter()
|
||||||
|
.not()
|
||||||
|
.group((q) => q
|
||||||
|
.subTypeEqualTo(isar_models.TransactionSubType.bip47Notification)
|
||||||
|
.and()
|
||||||
|
.typeEqualTo(isar_models.TransactionType.incoming))
|
||||||
|
.sortByTimestampDesc()
|
||||||
|
.findAll();
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Coin get coin => _coin;
|
Coin get coin => _coin;
|
||||||
|
|
Loading…
Reference in a new issue