We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8da7923 commit fce58b1Copy full SHA for fce58b1
src/label.android.ts
@@ -221,12 +221,13 @@ abstract class LabelBase extends View implements LabelViewDefinition {
221
this.requestLayout();
222
}
223
224
- // eachChild(callback: (child: ViewBase) => boolean): void {
225
- // let text = this.formattedText;
226
- // if (text) {
227
- // callback(text);
228
- // }
229
+ // without this spans class wont work :s
+ eachChild(callback: (child: ViewBase) => boolean): void {
+ let text = this.formattedText;
+ if (text) {
+ callback(text);
+ }
230
231
232
abstract _setNativeText(reset?: boolean):void;
233
0 commit comments