From 7def98c620de19a8e1e17907e292cf4a2c0cde29 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 1 Jun 2016 18:16:12 -0400 Subject: [PATCH] fix(config): set the properties for each mode and add defaults closes #6132 --- src/components/tabs/tabs.ts | 4 ++-- src/config/modes.ts | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/tabs/tabs.ts b/src/components/tabs/tabs.ts index 262dd01d02..d162f1405c 100644 --- a/src/components/tabs/tabs.ts +++ b/src/components/tabs/tabs.ts @@ -232,8 +232,8 @@ export class Tabs extends Ion { super(_elementRef); this.parent = parent; this.id = ++tabIds; - this.subPages = _config.getBoolean('tabSubPages'); - this._useHighlight = _config.getBoolean('tabbarHighlight'); + this.subPages = _config.getBoolean('tabSubPages', false); + this._useHighlight = _config.getBoolean('tabbarHighlight', false); this._sbPadding = _config.getBoolean('statusbarPadding', false); if (parent) { diff --git a/src/config/modes.ts b/src/config/modes.ts index 95697efeca..3d9702b1bf 100644 --- a/src/config/modes.ts +++ b/src/config/modes.ts @@ -37,8 +37,11 @@ Config.setModeConfig('ios', { spinner: 'ios', + tabbarHighlight: false, tabbarPlacement: 'bottom', + tabSubPages: false, + toastEnter: 'toast-slide-in', toastLeave: 'toast-slide-out', }); @@ -72,6 +75,7 @@ Config.setModeConfig('md', { pickerEnter: 'picker-slide-in', pickerLeave: 'picker-slide-out', + pickerRotateFactor: 0, popoverEnter: 'popover-md-pop-in', popoverLeave: 'popover-md-pop-out', @@ -116,6 +120,7 @@ Config.setModeConfig('wp', { pickerEnter: 'picker-slide-in', pickerLeave: 'picker-slide-out', + pickerRotateFactor: 0, popoverEnter: 'popover-md-pop-in', popoverLeave: 'popover-md-pop-out',