mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #3328 from gabrielbazan7/fix/animationPreferenceAdvance
fix animation in preference Bws Url
This commit is contained in:
commit
d66de76c76
|
@ -7,10 +7,10 @@ angular.module('copayApp.services').factory('animationService', function(isCordo
|
|||
|
||||
// DISABLE ANIMATION ON DESKTOP
|
||||
root.modalAnimated = {
|
||||
slideUp : isCordova ? 'full animated slideInUp' : 'full',
|
||||
slideRight : isCordova ? 'full animated slideInRight' : 'full',
|
||||
slideOutDown : isCordova ? 'slideOutDown' : 'hideModal',
|
||||
slideOutRight : isCordova ? 'slideOutRight' : 'hideModal',
|
||||
slideUp: isCordova ? 'full animated slideInUp' : 'full',
|
||||
slideRight: isCordova ? 'full animated slideInRight' : 'full',
|
||||
slideOutDown: isCordova ? 'slideOutDown' : 'hideModal',
|
||||
slideOutRight: isCordova ? 'slideOutRight' : 'hideModal',
|
||||
};
|
||||
|
||||
var pageWeight = {
|
||||
|
@ -34,7 +34,7 @@ angular.module('copayApp.services').factory('animationService', function(isCordo
|
|||
preferencesUnit: 12,
|
||||
preferencesFee: 12,
|
||||
preferencesAltCurrency: 12,
|
||||
preferencesBwsUrl: 12,
|
||||
preferencesBwsUrl: 13,
|
||||
preferencesAlias: 12,
|
||||
preferencesEmail: 12,
|
||||
export: 13,
|
||||
|
@ -51,7 +51,8 @@ angular.module('copayApp.services').factory('animationService', function(isCordo
|
|||
};
|
||||
|
||||
function cleanUpLater(e, e2) {
|
||||
var cleanedUp = false, timeoutID;
|
||||
var cleanedUp = false,
|
||||
timeoutID;
|
||||
var cleanUp = function() {
|
||||
if (cleanedUp) return;
|
||||
cleanedUp = true;
|
||||
|
@ -72,7 +73,7 @@ angular.module('copayApp.services').factory('animationService', function(isCordo
|
|||
timeoutID = setTimeout(cleanUp, 500);
|
||||
};
|
||||
|
||||
root.transitionAnimated = function (fromState, toState, event) {
|
||||
root.transitionAnimated = function(fromState, toState, event) {
|
||||
|
||||
if (isaosp)
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue