Remove 1-2-3 image from creation/join at Android version

This commit is contained in:
Yemel Jardi 2014-08-15 15:47:13 -03:00
parent 236e7b91be
commit 818c01bf52
5 changed files with 6 additions and 3 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) {

View File

@ -8,7 +8,7 @@
<div class="large-8 columns line-dashed-setup-v">
<div class="box-setup oh">
<div ng-if="!$root.wallet.publicKeyRing.isComplete()">
<img ng-if="$root.fromSetup" class="right m15t" src="../img/step-3.svg" alt="Step 3">
<img ng-if="$root.fromSetup && !isMobile" class="right m15t" src="img/step-3.svg" alt="Step 3">
<h1 class="text-primary line-sidebar-b">Waiting copayers</h1>
<h3>Share this secret with your other copayers</h3>
<div class="panel">

View File

@ -12,8 +12,8 @@
</div>
<div class="large-8 columns line-dashed-setup-v">
<div class="box-setup oh">
<img ng-if="!isSetupWalletPage" class="right m15t" src="../img/step-1.svg" alt="Step 1">
<img ng-if="isSetupWalletPage" class="right m15t" src="../img/step-2.svg" alt="Step 2">
<img ng-if="!isSetupWalletPage && !isMobile" class="right m15t" src="img/step-1.svg" alt="Step 1">
<img ng-if="isSetupWalletPage && !isMobile" class="right m15t" src="img/step-2.svg" alt="Step 2">
<h1 class="text-secondary line-sidebar-b">Create new wallet</h1>
<label ng-show="!isSetupWalletPage">Wallet name
<input type="text" placeholder="Family vacation funds" class="form-control" ng-model="walletName">