Merge pull request #1102 from yemel/fix/ui-issues

Fix/ui issues
This commit is contained in:
Matias Alejo Garcia 2014-08-15 16:30:40 -04:00
commit 6b0782f3a0
8 changed files with 22 additions and 7 deletions

View file

@ -5,6 +5,7 @@ angular.module('copayApp.controllers').controller('JoinController',
controllerUtils.redirIfLogged();
$rootScope.fromSetup = false;
$scope.loading = false;
$scope.isMobile = !!window.cordova;
// QR code Scanner
var cameraInput;

View file

@ -14,6 +14,7 @@ angular.module('copayApp.controllers').controller('OpenController',
$scope.wallets = walletFactory.getWallets().sort(cmp);
$scope.selectedWalletId = walletFactory.storage.getLastOpened() || ($scope.wallets[0] && $scope.wallets[0].id);
$scope.openPassword = '';
$scope.isMobile = !!window.cordova;
$scope.open = function(form) {
if (form && form.$invalid) {

View file

@ -40,6 +40,7 @@ angular.module('copayApp.controllers').controller('SetupController',
$rootScope.videoInfo = {};
$scope.loading = false;
$scope.walletPassword = $rootScope.walletPassword;
$scope.isMobile = !!window.cordova;
// ng-repeat defined number of times instead of repeating over array?
$scope.getNumber = function(num) {