fixes
This commit is contained in:
parent
473feddfc8
commit
800765eeec
5 changed files with 9 additions and 7 deletions
|
|
@ -50,6 +50,5 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
<accept class="accept-slide"></accept>
|
<accept class="accept-slide" ng-if="!hideSlider"></accept>
|
||||||
</div>
|
|
||||||
</ion-view>
|
</ion-view>
|
||||||
|
|
|
||||||
|
|
@ -161,5 +161,5 @@
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</ion-content>
|
</ion-content>
|
||||||
<accept class="accept-slide" ng-disabled="loading || paymentExpired" ng-if="tx.pendingForUs && canSign && !hideSlider"></accept>
|
<accept class="accept-slide" ng-if="tx.pendingForUs && canSign && !hideSlider && !loading && !paymentExpired"></accept>
|
||||||
</ion-modal-view>
|
</ion-modal-view>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.module('copayApp.controllers').controller('confirmController', function($rootScope, $scope, $ionicSlideBoxDelegate, $filter, $timeout, $ionicScrollDelegate, $ionicNavBarDelegate, gettextCatalog, walletService, platformInfo, lodash, configService, rateService, $stateParams, $window, $state, $log, profileService, bitcore, $ionicPopup, gettext, txFormatService, ongoingProcess, $ionicModal, $ionicHistory, popupService) {
|
angular.module('copayApp.controllers').controller('confirmController', function($rootScope, $scope, $filter, $timeout, $ionicScrollDelegate, $ionicNavBarDelegate, gettextCatalog, walletService, platformInfo, lodash, configService, rateService, $stateParams, $window, $state, $log, profileService, bitcore, $ionicPopup, gettext, txFormatService, ongoingProcess, $ionicModal, $ionicHistory, popupService) {
|
||||||
$ionicNavBarDelegate.title(gettextCatalog.getString('Confirm'));
|
$ionicNavBarDelegate.title(gettextCatalog.getString('Confirm'));
|
||||||
var cachedTxp = {};
|
var cachedTxp = {};
|
||||||
var isChromeApp = platformInfo.isChromeApp;
|
var isChromeApp = platformInfo.isChromeApp;
|
||||||
|
|
@ -9,7 +9,7 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
||||||
if ($stateParams.paypro) {
|
if ($stateParams.paypro) {
|
||||||
return setFromPayPro($stateParams.paypro, function(err) {
|
return setFromPayPro($stateParams.paypro, function(err) {
|
||||||
if (err && !isChromeApp) {
|
if (err && !isChromeApp) {
|
||||||
showAlert(gettext('Could not fetch payment'));
|
popupService.showAlert(gettext('Could not fetch payment'));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ angular.module('copayApp.directives')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.directive('accept', function($log, profileService, walletService, lodash) {
|
.directive('accept', function() {
|
||||||
return {
|
return {
|
||||||
restrict: 'E',
|
restrict: 'E',
|
||||||
templateUrl: 'views/includes/acceptSlide.html',
|
templateUrl: 'views/includes/acceptSlide.html',
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,7 @@
|
||||||
#view-confirm {
|
#view-confirm {
|
||||||
|
ion-content{
|
||||||
|
bottom: 149px;
|
||||||
|
}
|
||||||
.send-gravatar {
|
.send-gravatar {
|
||||||
left: 11px;
|
left: 11px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
@ -6,7 +9,7 @@
|
||||||
}
|
}
|
||||||
.accept-slide {
|
.accept-slide {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 49px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100px;
|
height: 100px;
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue