File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -312,11 +312,14 @@ class QRViewController {
312312
313313 // iOS version is sth like 26.0 or 26.0.1, etc.
314314 // We cannot assume it would parse as a double, so we need to handle that.
315- final iOSVersion = osVersionSplit.length > 1 ? osVersionSplit[1 ] : "$_defaultIOSMajorVersionOnUnknown .0" ;
316-
317- final iOSMajorVersion =
318- int .tryParse (iOSVersion.split ('.' ).firstOrNull ?? '$_defaultIOSMajorVersionOnUnknown ' ) ??
319- _defaultIOSMajorVersionOnUnknown;
315+ final iOSVersion = osVersionSplit.length > 1
316+ ? osVersionSplit[1 ]
317+ : "$_defaultIOSMajorVersionOnUnknown .0" ;
318+
319+ final iOSMajorVersion = int .tryParse (
320+ iOSVersion.split ('.' ).firstOrNull ??
321+ '$_defaultIOSMajorVersionOnUnknown ' ) ??
322+ _defaultIOSMajorVersionOnUnknown;
320323 final isAtLeastIOS18 = iOSMajorVersion >= 18 ;
321324
322325 if (isAtLeastIOS18) {
You can’t perform that action at this time.
0 commit comments