chore: cleanup

This commit is contained in:
Martin Guillon
2021-07-26 16:27:47 +02:00
parent 2c8ff3191c
commit 596bdd4051

View File

@ -279,16 +279,7 @@ export class TextBase extends TextBaseCommon {
this.nativeTextViewProtected.setTransformationMethod(new TextTransformation(this)); this.nativeTextViewProtected.setTransformationMethod(new TextTransformation(this));
} }
[accessibilityIdentifierProperty.setNative](value: string): void {
const id = Utils.ad.resources.getId(':id/nativescript_accessibility_id');
if (id) {
this.nativeTextViewProtected.setTag(id, value);
this.nativeTextViewProtected.setTag(value);
}
}
[textAlignmentProperty.getDefault](): CoreTypes.TextAlignmentType { [textAlignmentProperty.getDefault](): CoreTypes.TextAlignmentType {
return 'initial'; return 'initial';
} }