fix(inventory): update adjustment value to use integer for swipe actions

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
Nils-Johan Gynther
2026-04-22 21:21:40 +02:00
parent 14d782aeec
commit 8ebf119d39
2 changed files with 15 additions and 11 deletions
@@ -48,7 +48,7 @@ class _SwipeableInventoryTileState
void _onEnd(DragEndDetails d) {
if (_acting) return;
if (_drag > _threshold) {
_adjust(+1);
_adjust(1);
} else if (_drag < -_threshold) {
_adjust(-1);
}