diff --git a/Nudge/UI/Main.swift b/Nudge/UI/Main.swift index 0ba5a4bd..923e0a1b 100644 --- a/Nudge/UI/Main.swift +++ b/Nudge/UI/Main.swift @@ -342,7 +342,14 @@ class AppDelegate: NSObject, NSApplicationDelegate { supportedDevice in Globals.hardwareModelIDs.contains { $0.uppercased() == supportedDevice.uppercased() } } ) LogManager.notice("Assessed Model ID found in SOFA Entry: \(deviceMatchFound)", logger: sofaLog) - nudgePrimaryState.deviceSupportedByOSVersion = deviceMatchFound + let majorRequiredVersion = VersionManager.getMajorRequiredNudgeOSVersion() + let currentMajorVersion = VersionManager.getMajorOSVersion() + if !deviceMatchFound && (majorRequiredVersion == currentMajorVersion) { + LogManager.warning("Assessed Model ID not found in SOFA Entry, but device is already running required major OS version. Disregarding unsupported UI.", logger: sofaLog) + nudgePrimaryState.deviceSupportedByOSVersion = true + } else { + nudgePrimaryState.deviceSupportedByOSVersion = deviceMatchFound + } } } foundMatch = true