Commit c4efebbb authored by Leon Tappe's avatar Leon Tappe 🔥
Browse files

reduce test length to 24 hours

parent 0a1f3f25
......@@ -214,7 +214,7 @@ class _UserViewState extends State<UserView> {
var date = form.certificationDate;
var time = form.certificationTime;
if (form.isTested) {
date = DateTime(date!.year, date.month, date.day).add(const Duration(hours: 48));
date = DateTime(date!.year, date.month, date.day).add(const Duration(hours: 24));
date = date.add(Duration(hours: time!.hour, minutes: time.minute));
} else if (form.isRecovered) {
if (DateTime.now().difference(date!) < const Duration(days: 29)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment