migration to platformInfo WIP
Conflicts: src/js/controllers/buyGlidera.js src/js/controllers/walletHome.js src/js/services/localStorage.js
This commit is contained in:
parent
36cf4f0560
commit
dd1981a26c
23 changed files with 108 additions and 66 deletions
|
|
@ -1,10 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.services').factory('animationService', function(isCordova) {
|
||||
angular.module('copayApp.services').factory('animationService', function(platformInfo) {
|
||||
var root = {};
|
||||
|
||||
var cachedTransitionState, cachedBackPanel;
|
||||
|
||||
var isCordova = platformInfo.isCordova;
|
||||
|
||||
|
||||
// DISABLE ANIMATION ON DESKTOP
|
||||
root.modalAnimated = {
|
||||
slideUp: isCordova ? 'full animated slideInUp' : 'full',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue