Skip to content

Commit

Permalink
Set interval to double (#985)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxMarkowitz committed May 19, 2022
1 parent 55fe871 commit 1a85317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/BT/ExposureManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ final class ExposureManager: NSObject {

if (lastEnxTimestamp == 0 || sameDay != nil) {
if (enxCount <= 3) {
let newDate = Date.init();
let newDate = Date.init().timeIntervalSince1970;
defaults.set(enxCount + 1, forKey: "enxCount");
defaults.set(newDate, forKey: "lastEnxTimestamp");

Expand Down

0 comments on commit 1a85317

Please sign in to comment.