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 }