Skip to content

Commit 9be538e

Browse files
committed
Saving none enabled
1 parent de052eb commit 9be538e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/app/modules/taskc_details/views/taskc_details_view.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ class TaskcDetailsView extends GetView<TaskcDetailsController> {
7676
? "None"
7777
: controller.start.value,
7878
() => controller.start.value == "stop" ||
79-
controller.start.value == "-" ||
79+
controller.start.value == "None" ||
8080
controller.start.value.isEmpty
8181
? controller.updateField(
8282
controller.start,
8383
controller.formatDate(DateTime.now()),
8484
)
85-
: controller.start.value = "stop",
85+
: controller.updateField(controller.start, "stop"),
8686
),
8787
_buildDatePickerDetail(
8888
context,

0 commit comments

Comments
 (0)