Skip to content

Commit 37eb8bd

Browse files
committed
fix(cardview): shape property fix
1 parent 3dde583 commit 37eb8bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cardview/cardview.ios.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { dynamicElevationOffsetProperty, elevationProperty, getRippleColor, rippleColorProperty, themer } from '@nativescript-community/ui-material-core';
1+
import { dynamicElevationOffsetProperty, elevationProperty, getRippleColor, rippleColorProperty, shapeProperty, themer } from '@nativescript-community/ui-material-core';
22
import {
33
Background,
44
Color,
@@ -191,4 +191,8 @@ export class CardView extends CardViewBase {
191191
[rippleColorProperty.setNative](color: Color) {
192192
this.nativeViewProtected.inkView.inkColor = getRippleColor(color);
193193
}
194+
195+
[shapeProperty.setNative](shape) {
196+
this.getShapeScheme();
197+
}
194198
}

0 commit comments

Comments
 (0)