new favourites feature
This commit is contained in:
@@ -31,7 +31,10 @@ class LabelTransactionsScreen extends StatelessWidget {
|
||||
builder: (context) {
|
||||
final txs = [
|
||||
for (final tx in bank.transactions)
|
||||
if (meta.labelIdsFor(tx).contains(label.id)) tx,
|
||||
if (label.id == kUncategorizedFilterId
|
||||
? meta.labelIdsFor(tx).isEmpty
|
||||
: meta.labelIdsFor(tx).contains(label.id))
|
||||
tx,
|
||||
];
|
||||
final theme = Theme.of(context);
|
||||
final currency = bank.balance?.currency ??
|
||||
|
||||
Reference in New Issue
Block a user