We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffb9577 commit d401ea1Copy full SHA for d401ea1
1 file changed
Coding_iOS/Controllers/EditTaskViewController.m
@@ -330,7 +330,10 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
330
}];
331
[actionSheet showInView:nil];
332
};
333
- cell.descriptionBtnClickedBlock = ^(Task *toDelete){
+ cell.descriptionBtnClickedBlock = ^(Task *task){
334
+ if (weakSelf.myCopyTask.has_description && !weakSelf.myCopyTask.task_description) {
335
+ return ;
336
+ }
337
[weakSelf goToDescriptionVC];
338
339
0 commit comments