From b5d6384a0785c8488557db283e50a1117a2d3222 Mon Sep 17 00:00:00 2001 From: June P Date: Tue, 30 Jan 2024 10:52:22 +0900 Subject: [PATCH] bugfix(launch):fix analytics notice --- AltStore/LaunchViewController.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }