Skip to content
Snippets Groups Projects
Commit e30a8cc1 authored by Rodrigo Nascimento's avatar Rodrigo Nascimento
Browse files

Verify if isCordova before change status bar style

parent 28a4a4ca
No related branches found
No related tags found
No related merge requests found
...@@ -70,10 +70,12 @@ Template.main.helpers ...@@ -70,10 +70,12 @@ Template.main.helpers
logged: -> logged: ->
if Meteor.userId()? if Meteor.userId()?
StatusBar.styleDefault() if Meteor.isCordova
StatusBar.styleDefault()
return true return true
else else
StatusBar.styleLightContent() if Meteor.isCordova
StatusBar.styleLightContent()
return false return false
subsReady: -> subsReady: ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment