mirror of https://github.com/BTCPrivate/copay.git
add cancel button
This commit is contained in:
parent
a6891ac900
commit
6e87f18ec8
|
@ -16,6 +16,9 @@ angular.module('copayApp.directives')
|
|||
$timeout(function() {
|
||||
scope.showMenu = true;
|
||||
}, 2000);
|
||||
scope.hide = function() {
|
||||
scope.showMenu = false;
|
||||
};
|
||||
scope.$watch('showMenu', function() {
|
||||
console.log('scope.showMenu', scope.showMenu);
|
||||
if(!scope.showMenu) {
|
||||
|
|
|
@ -41,6 +41,11 @@ incoming-data-menu {
|
|||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #3A3A3A;
|
||||
border-top: 1px solid #e4e4e4;
|
||||
|
||||
&:active {
|
||||
background: #dadada;
|
||||
}
|
||||
}
|
||||
&__url {
|
||||
background: rgba(203, 203, 203, .13);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<div>Open website</div>
|
||||
<i class="icon bp-arrow-right"></i>
|
||||
</a>
|
||||
<a class="incoming-data-menu__cancel item">
|
||||
<a class="incoming-data-menu__cancel item" ng-click="hide()">
|
||||
Cancel
|
||||
</a>
|
||||
</action-sheet>
|
||||
|
|
Loading…
Reference in New Issue