refactor receive view

This commit is contained in:
Gabriel Bazán 2017-05-03 16:25:27 -03:00
commit 552a4c8bcf
11 changed files with 134 additions and 672 deletions

View file

@ -11,8 +11,10 @@ angular.module('copayApp.directives')
},
link: function(scope, element, attrs) {
scope.$watch('show', function() {
if(scope.show) {
$timeout(function() { scope.revealMenu = true; }, 100);
if (scope.show) {
$timeout(function() {
scope.revealMenu = true;
}, 100);
} else {
scope.revealMenu = false;
}

View file

@ -21,8 +21,7 @@ angular.module('copayApp.directives')
if (!data) return;
if (isCordova) {
window.cordova.plugins.clipboard.copy(data);
window.plugins.toast.showShortCenter(msg);
window.plugins.socialsharing.share(data, null, null, null);
} else if (isNW) {
nodeWebkitService.writeToClipboard(data);
scope.$apply(function() {