Merge pull request #248 from fpoirier1/patch-2

Session set `hasTabsTop` to true when Platform is Android
This commit is contained in:
Nick Wientge 2015-07-20 09:52:50 -07:00
commit 39160ea5e1

View file

@ -3,7 +3,7 @@ Template.ionTabs.created = function () {
};
Template.ionTabs.rendered = function () {
if ((this.data.class && this.data.class === 'tabs-top') || this.data.style === 'android') {
if ((this.data.class && this.data.class === 'tabs-top') || this.data.style === 'android' || ( !this.data.style && Platform.isAndroid())) {
Session.set('hasTabsTop', true);
} else {
Session.set('hasTabs', true);