Skip to content

Commit c1fc94f

Browse files
authored
fix(cardview): iOS fix for shape not applied from css
1 parent e073946 commit c1fc94f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cardview/cardview.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export class CardView extends CardViewBase {
6666
}
6767
applyShapeScheme() {
6868
if (this.scheme) {
69-
this.scheme.shapeScheme = this.shapeScheme;
69+
this.scheme.shapeScheme = this.getShapeScheme();
7070
this.nativeViewProtected.applyThemeWithScheme(this.scheme);
7171
}
7272
}
@@ -201,6 +201,6 @@ export class CardView extends CardViewBase {
201201
}
202202

203203
[shapeProperty.setNative](shape) {
204-
this.getShapeScheme();
204+
this.applyShapeScheme();
205205
}
206206
}

0 commit comments

Comments
 (0)