mirror of https://github.com/BTCPrivate/copay.git
fix UI on disclaimer view
This commit is contained in:
parent
f1626eb498
commit
1ca3e1575a
|
@ -5,7 +5,8 @@ angular.module('copayApp.controllers').controller('disclaimerController', functi
|
|||
$scope.$on("$ionicView.afterEnter", function() {
|
||||
startupService.ready();
|
||||
});
|
||||
$scope.init = function() {
|
||||
|
||||
$scope.$on("$ionicView.beforeEnter", function() {
|
||||
$scope.lang = uxLanguage.currentLanguage;
|
||||
$scope.terms = {};
|
||||
$scope.accepted = {};
|
||||
|
@ -13,10 +14,7 @@ angular.module('copayApp.controllers').controller('disclaimerController', functi
|
|||
$scope.backedUp = $stateParams.backedUp;
|
||||
$scope.resume = $stateParams.resume;
|
||||
$scope.shrinkView = false;
|
||||
$timeout(function() {
|
||||
$scope.$apply();
|
||||
}, 1);
|
||||
};
|
||||
});
|
||||
|
||||
$scope.confirm = function() {
|
||||
profileService.setDisclaimerAccepted(function(err) {
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
}
|
||||
.checkbox input:before,
|
||||
.checkbox .checkbox-icon:before {
|
||||
padding: 1.1rem;
|
||||
padding: 1.2rem;
|
||||
position: relative;
|
||||
background:url("../img/onboarding-checkbox-unchecked.svg") top center no-repeat;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<ion-pane class="pane-onboarding">
|
||||
<ion-view id="onboarding-disclaimer" class="onboarding" ng-class="{'shrink': shrinkView}" ng-init=init()>
|
||||
<ion-view id="onboarding-disclaimer" class="onboarding" ng-class="{'shrink': shrinkView}">
|
||||
<ion-nav-bar class="bar-stable" ng-if="backedUp == 'false'">
|
||||
<ion-nav-title></ion-nav-title>
|
||||
<ion-nav-buttons side="primary">
|
||||
|
|
Loading…
Reference in New Issue