bugfix(launch):fix analytics notice

This commit is contained in:
June P
2024-01-30 10:52:22 +09:00
parent d39644a4c9
commit b5d6384a07

View File

@@ -101,12 +101,12 @@ final class LaunchViewController: RSTLaunchViewController, UIDocumentPickerDeleg
// Present Alert to
self.present(dialogMessage, animated: true, completion: nil)
let dialogMessage = UIAlertController(title: "Analytics", message: "This app contains anonymous analytics for research and project development. By continuing to use this app, you are consenting to this data collection", preferredStyle: .alert)
let dialogMessage2 = UIAlertController(title: "Analytics", message: "This app contains anonymous analytics for research and project development. By continuing to use this app, you are consenting to this data collection", preferredStyle: .alert)
let ok = UIAlertAction(title: "OK", style: .default, handler: { (action) -> Void in})
let ok2 = UIAlertAction(title: "OK", style: .default, handler: { (action) -> Void in})
dialogMessage.addAction(ok)
self.present(dialogMessage, animated: true, completion: nil)
dialogMessage2.addAction(ok2)
self.present(dialogMessage2, animated: true, completion: nil)
return nil
}