COVIDSafe code from version 1.1

This commit is contained in:
covidsafe-support 2020-05-08 17:49:14 +10:00
commit 3640e52eb2
330 changed files with 261540 additions and 0 deletions

View file

@ -0,0 +1,36 @@
//
// IsolationSuccessViewController.swift
// CovidSafe
//
// Created on 20/4/20.
// Copyright © 2020 Australian Government. All rights reserved.
//
import UIKit
class IsolationSuccessViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let center = UNUserNotificationCenter.current()
//remove all pending notifications
center.removePendingNotificationRequests(withIdentifiers: ["dailyUploadReminder"])
UserDefaults.standard.set(0, forKey: "firstUploadDataDate")
}
@IBAction func doneOntap(_ sender: Any) {
dismiss(animated: true, completion: nil)
}
/*
// MARK: - Navigation
// In a storyboard-based application, you will often want to do a little preparation before navigation
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
// Get the new view controller using segue.destination.
// Pass the selected object to the new view controller.
}
*/
}