Skip to content

Commit d6083e2

Browse files
committed
Code review
1 parent a9f8029 commit d6083e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android/src/main/java/com/proyecto26/inappbrowser/RNInAppBrowser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ public void open(Context context, final ReadableMap options, final Promise promi
103103

104104
CustomTabsIntent.Builder builder = new CustomTabsIntent.Builder();
105105
isLightTheme = false;
106-
final Integer toolBarColor = setColor(builder, options, KEY_TOOLBAR_COLOR, "setToolbarColor", "toolbar");
107-
if (toolBarColor != null) {
108-
isLightTheme = toolbarIsLight(toolBarColor);
106+
final Integer toolbarColor = setColor(builder, options, KEY_TOOLBAR_COLOR, "setToolbarColor", "toolbar");
107+
if (toolbarColor != null) {
108+
isLightTheme = toolbarIsLight(toolbarColor);
109109
}
110110
setColor(builder, options, KEY_SECONDARY_TOOLBAR_COLOR, "setSecondaryToolbarColor", "secondary toolbar");
111111
setColor(builder, options, KEY_NAVIGATION_BAR_COLOR, "setNavigationBarColor", "navigation bar");

0 commit comments

Comments
 (0)