Browse Source

Parse lightbox backgroundColor from style

Guy Carmeli 7 years ago
parent
commit
b72ba6b432
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/deprecated/platformSpecificDeprecated.android.js

+ 1
- 1
src/deprecated/platformSpecificDeprecated.android.js View File

@@ -402,7 +402,7 @@ function showLightBox(params) {
402 402
   const backgroundBlur = _.get(params, 'style.backgroundBlur');
403 403
   const backgroundColor = _.get(params, 'style.backgroundColor');
404 404
   if (backgroundColor) {
405
-    params.backgroundColor = processColor(params.backgroundColor);
405
+    params.backgroundColor = processColor(backgroundColor);
406 406
   } else {
407 407
     if (backgroundBlur === 'dark') {
408 408
       params.backgroundColor = processColor('rgba(0, 0, 0, 0.5)');