UX: Disable toolbar by default on Android devices.
This commit is contained in:
parent
3ad1423c53
commit
994063ac72
|
@ -70,7 +70,7 @@ export default Ember.Controller.extend({
|
|||
// iPhone 6 is 375, anything narrower and toolbar should
|
||||
// be default disabled.
|
||||
// That said we should remember the state
|
||||
this._toolbarEnabled = $(window).width() > 370;
|
||||
this._toolbarEnabled = $(window).width() > 370 && !this.capabilities.isAndroid;
|
||||
}
|
||||
return this._toolbarEnabled || storedVal === "true";
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue