Enable ngSwipe on mobile only. Disable ngSwipe if no identity loaded.
This commit is contained in:
parent
d2c4172686
commit
b9c51e1c4a
2 changed files with 10 additions and 4 deletions
|
|
@ -27,7 +27,9 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
|||
hideSidebars();
|
||||
}
|
||||
else {
|
||||
elem.addClass('move-right');
|
||||
if ($rootScope.iden && !$rootScope.hideNavigation) {
|
||||
elem.addClass('move-right');
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
@ -35,7 +37,9 @@ angular.module('copayApp.services').factory('go', function($window, $rootScope,
|
|||
hideSidebars();
|
||||
}
|
||||
else {
|
||||
elem.addClass('move-left');
|
||||
if ($rootScope.iden && $rootScope.iden.listWallets().length >1) {
|
||||
elem.addClass('move-left');
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue