side bar drag and pull to refresh only available on mobile devices

This commit is contained in:
Gabriel Bazán 2016-06-06 12:07:00 -03:00
commit db65076157
5 changed files with 12 additions and 20 deletions

View file

@ -25,7 +25,7 @@
<!-- Main content -->
<ion-side-menu-content>
<ion-side-menu-content on-drag="index.onDrag()">
<div notifications="right top"></div>
<div id="sectionContainer">
<div id="mainSection">

View file

@ -31,7 +31,7 @@
</button>
</div>
<div class="half-row left">
<button ng-click="accept()" class="round expand" ng-style="{'background-color':index.backgroundColor}" translate>
<button ng-click="accept()" class="round expand" ng-style="{'background-color':index.backgroundColor}">
<span class="size-12" translate>Confirm</span>
</button>
</div>

View file

@ -53,9 +53,10 @@
-->
<ion-content id="walletHome" class="walletHome tab-view tab-in" scroll="false">
<ion-content overflow-scroll="true" delegate-handle="transactions" on-scroll="freezeScroll()">
<ion-content id="walletHome" class="walletHome tab-view tab-in" scroll="false" >
<ion-content overflow-scroll="true">
<ion-refresher
ng-if="index.isCordova"
pulling-icon="ion-ios-refresh"
spinner="ios-small"
on-refresh="index.updateAll({triggerTxUpdate: true})">