docs(demos): force android navbar color

This commit is contained in:
Drew Rygh
2015-10-19 23:48:32 -05:00
parent 9e0109d4d2
commit 4528c8288b
46 changed files with 65 additions and 61 deletions

View File

@ -54,6 +54,7 @@ import {TabsPage} from './tabs/tabs';
export class AndroidAttribute {
constructor (platform: Platform, elementRef: ElementRef, renderer: Renderer) {
console.log('init');
this.isAndroid = platform.is('android');
renderer.setElementAttribute(elementRef, 'primary', this.isAndroid ? true : null);
}