commit 5e2dc7d49278cf3866b8b932d944ede2c62aecc8
parent 9aa857ae34cadf44b9876c55aacfd748942d5727
Author: Michael Camilleri <[email protected]>
Date: Tue, 17 Mar 2026 04:49:26 +0900
Change the flick sensitivity in iOS version
Diffstat:
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/ListlessiOS/Views/SettingsView.swift b/ListlessiOS/Views/SettingsView.swift
@@ -5,7 +5,6 @@ struct SettingsView: View {
@Environment(\.dismiss) private var dismiss
@AppStorage("headingText") private var headingText = "Items"
@AppStorage("appearanceMode") private var appearanceMode = 0
- @AppStorage("flickThreshold") private var flickThreshold: Double = 800
var body: some View {
NavigationStack {
@@ -14,14 +13,6 @@ struct SettingsView: View {
TextField("List Title", text: $headingText)
}
- Section("Flick Sensitivity") {
- HStack {
- Text("\(Int(flickThreshold)) pt/s")
- .monospacedDigit()
- Slider(value: $flickThreshold, in: 200...2000, step: 50)
- }
- }
-
Section("Appearance") {
Picker("Appearance", selection: $appearanceMode) {
Text("System").tag(0)
diff --git a/ListlessiOS/Views/TaskListView.swift b/ListlessiOS/Views/TaskListView.swift
@@ -150,7 +150,7 @@ struct TaskListView: View, TaskListViewProtocol {
var vStackSpacing: CGFloat { 12 }
var pullCreateThreshold: CGFloat { 70 }
- @AppStorage("flickThreshold") var flickThreshold: Double = 800
+ var flickThreshold: CGFloat { 500 }
var isCompletelyEmpty: Bool { activeTasks.isEmpty && completedTasks.isEmpty }
init(store: TaskStore, syncMonitor: CloudKitSyncMonitor) {