remove backbutton and adding finish button on complete view
This commit is contained in:
parent
5e520212b0
commit
cda0361999
3 changed files with 6 additions and 9 deletions
|
|
@ -54,6 +54,7 @@ angular.module('copayApp.controllers').controller('completeController', function
|
|||
|
||||
if (!$scope.fromSettings) {
|
||||
$ionicConfig.views.swipeBackEnabled(false);
|
||||
$ionicNavBarDelegate.showBackButton(false);
|
||||
} else {
|
||||
$ionicNavBarDelegate.showBackButton(true);
|
||||
$ionicConfig.views.swipeBackEnabled(true);
|
||||
|
|
|
|||
|
|
@ -1,13 +1,5 @@
|
|||
#complete {
|
||||
background-color: #fff;
|
||||
.close-button {
|
||||
color: $dark-gray;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 10px;
|
||||
padding: 15px;
|
||||
font-size: 36px;
|
||||
}
|
||||
.complete-layout {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
|
|||
|
|
@ -3,9 +3,13 @@
|
|||
<ion-nav-back-button>
|
||||
</ion-nav-back-button>
|
||||
<ion-nav-title>{{'Share BitPay' | translate}}</ion-nav-title>
|
||||
<ion-nav-buttons side="secondary">
|
||||
<button ng-show="!fromSettings" class="button no-border" ng-click="close()" translate>
|
||||
Finish
|
||||
</button>
|
||||
</ion-nav-buttons>
|
||||
</ion-nav-bar>
|
||||
<ion-content scroll="false" has-header="fromSettings">
|
||||
<a class="close-button ng-hide" ng-show="!fromSettings" ng-click="close()"><i class="icon ion-ios-close-empty close-home-tip"></i></a>
|
||||
<div class="complete-layout">
|
||||
<div class="complete-layout__expand" ng-class="{'fade-in': !animate || socialsharing}">
|
||||
<div ng-show="fromSettings">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue