Skip to content

Commit 2597a97

Browse files
author
farfromrefuge
committed
fix(android): renamed label layout so that we can easily keep it with proguard/minification
1 parent ba5ff18 commit 2597a97

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/label.android.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class Label extends LabelBase {
236236
// return new TextView(this._context);
237237
if (!layoutId) {
238238
const context = Utils.android.getApplicationContext();
239-
layoutId = context.getResources().getIdentifier('label', 'layout', context.getPackageName());
239+
layoutId = context.getResources().getIdentifier('ns_label', 'layout', context.getPackageName());
240240
}
241241
if (!LayoutInflater) {
242242
LayoutInflater = android.view.LayoutInflater;

0 commit comments

Comments
 (0)