Skip to content

Commit 2e008dc

Browse files
committed
Remove accidentally added showDate field from Note class
1 parent db6ee26 commit 2e008dc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/entities/note.dart

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ class Note {
1111
final int createdAt;
1212
final int? deletedAt;
1313

14-
final bool? showDate;
15-
1614
User? user;
1715
List<String>? tags;
1816

@@ -38,7 +36,6 @@ class Note {
3836
required this.isMarkdown,
3937
required this.createdAt,
4038
this.deletedAt,
41-
this.showDate,
4239
this.user,
4340
this.tags,
4441
});
@@ -53,7 +50,6 @@ class Note {
5350
isMarkdown: json['isMarkdown'],
5451
createdAt: json['createdAt'],
5552
deletedAt: json['deletedAt'],
56-
showDate: json['showDate'],
5753
user: json['user'] != null ? User.fromJson(json['user']) : null,
5854
tags: json['tags'] == '' || json['tags'] == null ? [] : json['tags'].split(' '),
5955
);

0 commit comments

Comments
 (0)