UX: Disable toolbar by default on Android devices.

This commit is contained in:
Guo Xiang Tan 2016-06-27 15:06:13 +08:00
parent 3ad1423c53
commit 994063ac72
No known key found for this signature in database
GPG Key ID: 19C321C8952B0F72
1 changed files with 1 additions and 1 deletions

View File

@ -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";
},