Skip to content

Commit 1a85317

Browse files
authored
Set interval to double (#985)
1 parent 55fe871 commit 1a85317

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/BT/ExposureManager.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ final class ExposureManager: NSObject {
200200

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

0 commit comments

Comments
 (0)