mirror of
https://github.com/koloideal/Casha.git
synced 2026-06-10 10:25:28 +03:00
stableee
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user