add the target

This commit is contained in:
Watson
2013-06-29 13:48:27 +09:00
parent 436eae4b22
commit 401137639b

View File

@@ -200,7 +200,7 @@ module Motion; module Project;
def device_retina_xcode5_string(family, target, retina)
case retina
when 'true'
(family == 1) ? ' Retina (4-inch)' : ' Retina'
(family == 1 and target >= '6.0') ? ' Retina (4-inch)' : ' Retina'
when '3.5'
' Retina (3.5-inch)'
when '4'