This commit is contained in:
2026-03-29 15:34:58 +03:00
parent eca3d1f294
commit 7c6089252d
@@ -189,10 +189,17 @@ class AccountDropdownOverlay extends ConsumerWidget {
final txAccountId = ref
.read(addTransactionProvider(initial))
.selectedAccountId;
final toAccountId = ref
.read(addTransactionProvider(initial))
.toAccountId;
final availableAccounts = accounts
.where((a) => toAccountId == null || a.id != toAccountId)
.toList();
return Column(
mainAxisSize: MainAxisSize.min,
children: accounts.map((account) {
children: availableAccounts.map((account) {
final isSelected =
txAccountId != null && account.id == txAccountId;
return InkWell(