Skip to content

Commit 994cbd0

Browse files
committed
bump/android api check
1 parent 9e73ed3 commit 994cbd0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

checkbox.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export class CheckBox extends View implements CheckBoxInterface {
8484

8585

8686
if(this._android){
87-
if(this.fillColor){
87+
if(this.fillColor && device.sdkVersion >= "21"){
8888
//Set bound colors
8989
this._android.setButtonTintList(android.content.res.ColorStateList.valueOf(new Color(this._fillColor).android));
9090
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nativescript-checkbox",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"description": "NativeScript plugin for checkbox widget.",
55
"main": "checkbox.js",
66
"typings": "index.d.ts",

0 commit comments

Comments
 (0)