Skip to content

Commit

Permalink
cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
apoleon33 committed Jan 3, 2024
1 parent 1ae0ee7 commit 07bbc3b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/albumCard/albumCard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,6 @@ class _AlbumCardState extends State<AlbumCard> {
});
}

bool _dateIsToday(DateTime date) {
DateTime timeNow = DateTime.now();
return ((date.year == timeNow.year) &&
(date.month == timeNow.month) &&
(date.day == timeNow.day));
}

bool _dateIsYesterday(DateTime date) {
DateTime timeNow = DateTime.now();
return ((date.year == timeNow.year) &&
(date.month == timeNow.month) &&
(date.day == (timeNow.day - 1)));
}

@override
Widget build(BuildContext context) {
final Album album = Album(
Expand Down

0 comments on commit 07bbc3b

Please sign in to comment.