listless

A simple list app for Apple platforms
Log | Files | Refs | README | LICENSE

commit 073bb63d24395b47ba5e4230506ef4c7fb766c8e
parent 463dfb7e30f741b194661aa5e6d4147cc64cefcb
Author: Michael Camilleri <[email protected]>
Date:   Wed,  1 Apr 2026 15:25:45 +0900

Fix swipe-to-delete bug in the iOS version

Diffstat:
MListlessiOS/Views/ItemRowView.swift | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/ListlessiOS/Views/ItemRowView.swift b/ListlessiOS/Views/ItemRowView.swift @@ -158,6 +158,9 @@ struct ItemRowView: View { .onAppear { editingTitle = item.title cachedAccentColor = computeAccentColor() + swipeOffset = 0 + swipeDirection = .none + isSwipeTriggered = false } .onChange(of: item.title) { _, newValue in if !isCurrentlyEditing {