Commit 12b6e43
Change disabled prop to only cover pending-delete transactions, not trashed ones
The disabled prop on PressableWithFeedback in TransactionGroupListExpanded
was using isDeletedOrPendingDelete which includes both trashed and
pending-delete transactions. This prevented long-press selection on trashed
expenses. Changed to use isTransactionPendingDelete only, matching the
behavior of TransactionListItem which only disables for pending-delete items.
Co-authored-by: Krishna <Krishna2323@users.noreply.github.com>1 parent 39d1d17 commit 12b6e43
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
0 commit comments