parent
0e5f05c938
commit
290841dea6
@ -694,9 +694,8 @@ public class InAppBrowser extends CordovaPlugin {
|
||||
closeButtonColor = closeButtonColorSet;
|
||||
}
|
||||
String leftToRightSet = features.get(LEFT_TO_RIGHT);
|
||||
if (leftToRightSet != null) {
|
||||
leftToRight = leftToRightSet.equals("yes") ? true : false;
|
||||
}
|
||||
leftToRight = leftToRightSet != null && leftToRightSet.equals("yes");
|
||||
|
||||
String toolbarColorSet = features.get(TOOLBAR_COLOR);
|
||||
if (toolbarColorSet != null) {
|
||||
toolbarColor = android.graphics.Color.parseColor(toolbarColorSet);
|
||||
|
Loading…
Reference in New Issue
Block a user