Skip to content

Commit 1cdd396

Browse files
committed
Update UpgradeAlert+Variables.swift
1 parent 6267f5a commit 1cdd396

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/UpgradeAlert/UpgradeAlert+Variables.swift

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ extension UpgradeAlert {
1414
* - Fixme: ⚠️️ Consider renaming this to appInfoRequestURL for clarity.
1515
* - fix: maybe move url to const?
1616
*/
17-
@available(*, deprecated, renamed: "getRequestURL")
18-
internal static var requestURL: URL? {
19-
guard let bundleId: String = Bundle.identifier else { return nil }
20-
let requestURLStr: String = "https://itunes.apple.com/lookup?bundleId=\(bundleId)" // might need country code
21-
return .init(string: requestURLStr)
22-
}
17+
// @available(*, deprecated, renamed: "getRequestURL")
18+
// internal static var requestURL: URL? {
19+
// guard let bundleId: String = Bundle.identifier else { return nil }
20+
// let requestURLStr: String = "https://itunes.apple.com/lookup?bundleId=\(bundleId)" // might need country code
21+
// return .init(string: requestURLStr)
22+
// }
2323
// The App Store lookup URL may fail if the app is not available in all countries.
2424
// prefer this
2525
internal static func getRequestURL(countryCode: String = Locale.current.region?.identifier ?? "US") -> URL? {

0 commit comments

Comments
 (0)