Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Commit

Permalink
Merge pull request #91 from gsmedley/master
Browse files Browse the repository at this point in the history
Fix for #89
  • Loading branch information
bradmartin authored Jul 9, 2018
2 parents 0e102cc + e0e30af commit 504ad5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cardview.android.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class CardView extends CardViewCommon {
const attr = java.lang.Class.forName('android.support.v7.appcompat.R$attr');
const field = attr.getField('selectableItemBackground');

if (field) {
if (field && android.os.Build.VERSION.SDK_INT >= 23 ) {
const resId = field.getInt(null);

const attrs = Array.create('int', 1);
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nativescript-cardview",
"version": "3.1.0",
"version": "3.1.1",
"description": "A NativeScript plugin for Material Design CardView component.",
"main": "cardview",
"typings": "index.d.ts",
Expand Down

0 comments on commit 504ad5e

Please sign in to comment.