mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-05-26 22:06:41 -06:00
Session set hasTabsTop to true when Platform is Android
Since the `tabs-top` class can be set based on the Platform in the helper then the `Session.get('hasTabsTop')` needs to be set properly.
This commit is contained in:
parent
ef895b05d5
commit
8790039618
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue