chore: cleanup

This commit is contained in:
Nathan Walker
2020-07-06 23:27:18 -07:00
parent 49cd2f0df3
commit c6902538cf
62 changed files with 328 additions and 182 deletions

View File

@@ -8,7 +8,7 @@ import { Color } from '../../color';
import { Trace } from '../../trace';
import { opacityProperty, backgroundColorProperty, rotateProperty, rotateXProperty, rotateYProperty, translateXProperty, translateYProperty, scaleXProperty, scaleYProperty, heightProperty, widthProperty, PercentLength } from '../styling/style-properties';
import { layout } from '../../utils';
import { device, screen } from '../../platform';
import { Device, screen } from '../../platform';
import lazy from '../../utils/lazy';
export * from './animation-common';
@@ -219,7 +219,7 @@ export class Animation extends AnimationBase {
private _play(): AnimationPromise {
const animationFinishedPromise = super.play();
if (device.sdkVersion <= '23') {
if (Device.sdkVersion <= '23') {
this._animatorSet = new android.animation.AnimatorSet();
this._animatorSet.addListener(this._animatorListener);
}