(fn: () => void)
| 319 | } |
| 320 | } |
| 321 | _animationWrap(fn: () => void) { |
| 322 | const shouldAnimate = this.iosTextAnimation === 'inherit' ? TextBase.iosTextAnimationFallback : this.iosTextAnimation; |
| 323 | if (shouldAnimate) { |
| 324 | fn(); |
| 325 | } else { |
| 326 | UIView.performWithoutAnimation(fn); |
| 327 | } |
| 328 | } |
| 329 | |
| 330 | _setNativeText(reset = false): void { |
| 331 | this._animationWrap(() => { |