From 2130b621d18ba30d036a5b1793cf2d0917dfb1c1 Mon Sep 17 00:00:00 2001 From: Trey t Date: Thu, 17 Feb 2022 15:00:15 -0600 Subject: [PATCH] take out test data, ooops --- Shared/ShowBasedOnVoteLogics.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shared/ShowBasedOnVoteLogics.swift b/Shared/ShowBasedOnVoteLogics.swift index 9beb00c..89fad94 100644 --- a/Shared/ShowBasedOnVoteLogics.swift +++ b/Shared/ShowBasedOnVoteLogics.swift @@ -92,7 +92,7 @@ class ShowBasedOnVoteLogics { // if we're passed time to vote and the voting type is previous - last vote should be -1 date = Calendar.current.date(byAdding: .day, value: -1, to: Date()) } - date = Calendar.current.date(byAdding: .day, value: -2, to: Date()) + if let date = date { return date }