Skip to content

Commit fd79978

Browse files
committed
fix(textview): android fix crash on lollipop
1 parent 982c497 commit fd79978

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/textview/textview.android.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,9 @@ export class TextView extends TextViewBase {
115115
}
116116
[hintProperty.setNative](value: string) {
117117
const text = value === null || value === undefined ? null : value.toString();
118-
this.layoutView.setHint(text);
118+
try {
119+
this.layoutView.setHint(text);
120+
} catch (error) {}
119121
}
120122

121123
[helperColorProperty.setNative](value) {

0 commit comments

Comments
 (0)