Skip to content

Commit a8b70f5

Browse files
committed
refactor: - Remove from Task some fields that ListItem stores
This removes some duplicated date.
1 parent dceadfc commit a8b70f5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Task/Task.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ interface TaskComponents {
4141
export class Task extends ListItem {
4242
// NEW_TASK_FIELD_EDIT_REQUIRED
4343
public readonly status: Status;
44-
public readonly description: string;
45-
public readonly indentation: string;
46-
public readonly listMarker: string;
4744

4845
public readonly tags: string[];
4946

@@ -128,9 +125,6 @@ export class Task extends ListItem {
128125
});
129126
// NEW_TASK_FIELD_EDIT_REQUIRED
130127
this.status = status;
131-
this.description = description;
132-
this.indentation = indentation;
133-
this.listMarker = listMarker;
134128

135129
this.tags = tags;
136130

@@ -784,9 +778,6 @@ export class Task extends ListItem {
784778
// any of the tasks in a file. This does mean that redrawing of tasks blocks
785779
// happens more often than is ideal.
786780
let args: Array<keyof Task> = [
787-
'description',
788-
'indentation',
789-
'listMarker',
790781
'priority',
791782
'blockLink',
792783
'scheduledDateIsInferred',

0 commit comments

Comments
 (0)