fix: 点击清除按钮会立即清除先前数据

This commit is contained in:
Super12138 2026-02-09 08:21:47 +08:00
parent 6bdee1f2f7
commit 8a3c9b2ff4
2 changed files with 1 additions and 2 deletions

View file

@ -38,7 +38,7 @@ android {
applicationId = "cn.super12138.todo"
minSdk = 24
targetSdk = 36
versionCode = 987
versionCode = 988
versionName = "2.3.3"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"

View file

@ -118,7 +118,6 @@ fun TodoDueDateChooser(
TextButton(
onClick = {
VibrationUtils.performHapticFeedback(view)
onValueChange(null)
datePickerState.selectedDateMillis = null
},
shapes = ButtonDefaults.shapes()