Skip to content

Commit

Permalink
Minor update to time tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-radloff committed Jan 30, 2022
1 parent 3bed807 commit a5ac223
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compulse/lib/statusTile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ class _StatusTileState extends State<StatusTile> {
onPressed: () {
if (widget.videoPath == "") {
updateVideo(widget.taskText);
DateTime d = DateTime.now();
updateTime("Last completed on ${d.month}/${d.day}/${d.year} at ${d.hour}:${d.minute}");
} else {
setVideo(!displayVideo);
}
Expand Down

0 comments on commit a5ac223

Please sign in to comment.