Prompt for trusted networks purchase

Was purchasing full macOS version instead.
This commit is contained in:
Davide De Rosa 2021-02-05 16:45:24 +01:00
parent 7abc704c24
commit 3a5bbf4742
1 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ class TrustedNetworksViewController: NSViewController, ProfileCustomization {
try ProductManager.shared.verifyEligibleForTrustedNetworks()
} catch {
checkTrustEthernet.state = .off
presentPurchaseScreen(forProduct: .fullVersion_macOS)
presentPurchaseScreen(forProduct: .trustedNetworks)
return
}
trustedNetworks.includesEthernet = (checkTrustEthernet.state == .on)
@ -134,7 +134,7 @@ class TrustedNetworksViewController: NSViewController, ProfileCustomization {
do {
try ProductManager.shared.verifyEligibleForTrustedNetworks()
} catch {
presentPurchaseScreen(forProduct: .fullVersion_macOS)
presentPurchaseScreen(forProduct: .trustedNetworks)
return false
}
}