Animated nav-bar

This commit is contained in:
vakrilov
2017-01-24 13:06:30 +02:00
parent da4983c6bc
commit d448f3dc7f
10 changed files with 47 additions and 54 deletions

View File

@@ -44,12 +44,9 @@ export class Progress extends ProgressBase {
get [backgroundColorProperty.native](): UIColor {
return this._ios.trackTintColor;
}
set [backgroundColorProperty.native](value: Color) {
if (value instanceof Color) {
this._ios.trackTintColor = value.ios;
} else {
this._ios.trackTintColor = value;
}
set [backgroundColorProperty.native](value: UIColor | Color) {
let color = value instanceof Color ? value.ios : value;
this._ios.trackTintColor = color;
}
get [backgroundInternalProperty.native](): UIColor {