mirror of https://github.com/BTCPrivate/copay.git
share wallet
This commit is contained in:
parent
b64e80478e
commit
a2e20ee75d
|
@ -1,6 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('thanksController', function($scope, $state, $stateParams) {
|
||||
angular.module('copayApp.controllers').controller('thanksController', function($scope, $state, $stateParams, platformInfo) {
|
||||
$scope.score = parseInt($stateParams.score);
|
||||
$scope.skip = $stateParams.skip && $scope.score == 5;
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function(event, data) {
|
||||
if (platformInfo.isCordova) {
|
||||
window.plugins.socialsharing.share('https://bitpay.com/wallet', null, null, null);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue