calendar component fix per new styles

This commit is contained in:
nixa 2016-05-16 17:42:01 +03:00
parent a8363d02b8
commit 5fa1b335c6
3 changed files with 11 additions and 9 deletions

View file

@ -14,7 +14,7 @@ export class BaCardBlur {
private _bodyBgSize:BgMetrics;
constructor(private _baThemeConfigProvider:BaThemeConfigProvider, private _baCardBlurHelper:BaCardBlurHelper, private _el:ElementRef) {
constructor(private _baConfig:BaThemeConfigProvider, private _baCardBlurHelper:BaCardBlurHelper, private _el:ElementRef) {
if (this._isEnabled()) {
this._getBodyImageSizesOnBgLoad();
this._recalculateCardStylesOnBgLoad();
@ -52,6 +52,6 @@ export class BaCardBlur {
}
private _isEnabled() {
return this._baThemeConfigProvider.get().theme.blur;
return this._baConfig.get().theme.blur;
}
}