CB-10231 Fix FadeSplashScreen to default to true on iOS

This commit is contained in:
daserge 2015-12-18 17:18:20 +03:00
parent 78d8ef94eb
commit cfc6d74506

View File

@ -331,7 +331,12 @@
float fadeDuration = fadeSplashScreenDuration == nil ? kSplashScreenDurationDefault : [fadeSplashScreenDuration floatValue];
if ((fadeSplashScreenValue == nil) || ![fadeSplashScreenValue boolValue])
if (fadeSplashScreenValue == nil)
{
fadeSplashScreenValue = @"true";
}
if (![fadeSplashScreenValue boolValue])
{
fadeDuration = 0;
}