From 27a4f213ccd0f8776f6d1fd805b125db4dcc0570 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Thu, 22 Jul 2021 10:50:19 +0100 Subject: [PATCH] Update 0BDFDB.plugin.js --- Library/0BDFDB.plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/0BDFDB.plugin.js b/Library/0BDFDB.plugin.js index 58c18c647f..26d8759507 100644 --- a/Library/0BDFDB.plugin.js +++ b/Library/0BDFDB.plugin.js @@ -5034,7 +5034,7 @@ module.exports = (_ => { style = Object.assign({}, style); this.props.color = typeof this.props.getColor == "function" ? this.props.getColor(this.props.value) : this.props.color; style.borderColor = this.props.color; - switch (this.props.type && InternalComponents.NativeSubComponents.Checkbox.Types) { + if (InternalComponents.NativeSubComponents.Checkbox.Types) switch (this.props.type) { case InternalComponents.NativeSubComponents.Checkbox.Types.DEFAULT: style.borderColor = this.props.color; break;