Add iPhone 17 generation lens specs

This commit is contained in:
Sam Becker 2025-11-14 12:57:09 -08:00
parent decd9422a4
commit 64441a12c1

View File

@ -135,8 +135,8 @@ export const formatAppleLensText = (
case '1.78': return format('Main'); case '1.78': return format('Main');
case '2.8': return format('Telephoto'); case '2.8': return format('Telephoto');
} }
// 16 (single lens)
case '16E': case '16E':
// Single lens
return format('Main'); return format('Main');
case '16': case '16':
case '16 PLUS': case '16 PLUS':
@ -151,6 +151,21 @@ export const formatAppleLensText = (
case '1.78': return format('Main'); case '1.78': return format('Main');
case '2.8': return format('Telephoto'); case '2.8': return format('Telephoto');
} }
case 'AIR':
// Single lens
return format('Main');
case '17':
switch (aperture) {
case '2.2': return format('Wide');
case '1.6': return format('Main');
}
case '17 PRO':
case '17 PRO MAX':
switch (aperture) {
case '2.2': return format('Wide');
case '1.78': return format('Main');
case '2.8': return format('Telephoto');
}
default: default:
return format('Back', true); return format('Back', true);
} }