So that balances get reverted and items get pushed back. Consider using "last X" items to remember which were used as opposed to using an actual array. Make this undoable using a toast or similar, that disappears after you take another action or after a certain amount of time.
So that balances get reverted and items get pushed back. Consider using "last X" items to remember which were used as opposed to using an actual array. Make this undoable using a toast or similar, that disappears after you take another action or after a certain amount of time.