do not disable transitions when app disabled

This commit is contained in:
Adam Bradley
2015-09-18 22:17:05 -05:00
parent 3364414d24
commit e570a11aab
2 changed files with 10 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ export class ViewController extends Ion {
* @returns {Promise} TODO
*/
push(componentType, params = {}, opts = {}) {
if (!componentType || !this.app.isEnabled()) {
if (!componentType) {
return Promise.reject();
}
if (typeof componentType !== 'function') {
@@ -112,7 +112,7 @@ export class ViewController extends Ion {
* @returns {Promise} TODO
*/
pop(opts = {}) {
if (!this.app.isEnabled() || !this.canGoBack()) {
if (!this.canGoBack()) {
return Promise.reject();
}