diff --git a/src/ios/LottieSplashScreen.swift b/src/ios/LottieSplashScreen.swift index a25e5dd8..49d387ae 100644 --- a/src/ios/LottieSplashScreen.swift +++ b/src/ios/LottieSplashScreen.swift @@ -263,9 +263,9 @@ import Lottie var preferenceValue = "" if #available(iOS 12.0, *) { if viewController.traitCollection.userInterfaceStyle == .dark { - preferenceValue = commandDelegate?.settings[(basePreferenceName + "Dark").lowercased()] as? String ?? defaultValue + preferenceValue = commandDelegate?.settings[(basePreferenceName + "Dark").lowercased()] as? String ?? "" } else { - preferenceValue = commandDelegate?.settings[(basePreferenceName + "Light").lowercased()] as? String ?? defaultValue + preferenceValue = commandDelegate?.settings[(basePreferenceName + "Light").lowercased()] as? String ?? "" } }