fix: 点击清除按钮会立即清除先前数据
This commit is contained in:
parent
6bdee1f2f7
commit
8a3c9b2ff4
2 changed files with 1 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -118,7 +118,6 @@ fun TodoDueDateChooser(
|
|||
TextButton(
|
||||
onClick = {
|
||||
VibrationUtils.performHapticFeedback(view)
|
||||
onValueChange(null)
|
||||
datePickerState.selectedDateMillis = null
|
||||
},
|
||||
shapes = ButtonDefaults.shapes()
|
||||
|
|
|
|||
Loading…
Reference in a new issue