listless

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

commit 1c46eb5e2e6ae720bcd912cb8494baccb4b2e21b
parent 610831532487525b52e83df84425d13989210dd2
Author: Michael Camilleri <[email protected]>
Date:   Wed, 25 Mar 2026 12:11:06 +0900

Add comment about Tasks and DispatchQueues

Diffstat:
MListlessiOS/Helpers/TappableTextField.swift | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/ListlessiOS/Helpers/TappableTextField.swift b/ListlessiOS/Helpers/TappableTextField.swift @@ -70,6 +70,7 @@ struct TappableTextField: UIViewRepresentable { let dragging = isDragging if dragging != context.coordinator.isDragging { let coordinator = context.coordinator + // Task (not DispatchQueue.main.async) since coordinator is Sendable. Task { @MainActor in coordinator.setDragging(dragging) }