diff --git a/js/controllers/join.js b/js/controllers/join.js index 799b28447..89d33da99 100644 --- a/js/controllers/join.js +++ b/js/controllers/join.js @@ -1,10 +1,10 @@ 'use strict'; angular.module('copayApp.controllers').controller('JoinController', - function($scope, $rootScope, $timeout, controllerUtils, notification) { + function($scope, $rootScope, $timeout, isMobile, controllerUtils, notification) { $rootScope.fromSetup = false; $scope.loading = false; - $scope.isMobile = !!window.cordova; + $scope.isMobile = isMobile.any(); $rootScope.title = 'Join shared wallet'; // QR code Scanner diff --git a/views/includes/scanner.html b/views/includes/scanner.html new file mode 100644 index 000000000..0a6e372af --- /dev/null +++ b/views/includes/scanner.html @@ -0,0 +1,15 @@ +