diff --git a/AltStore/LaunchViewController.swift b/AltStore/LaunchViewController.swift index 404e366b..8e8505f1 100644 --- a/AltStore/LaunchViewController.swift +++ b/AltStore/LaunchViewController.swift @@ -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 }