enable pull to refresh only in android devices
This commit is contained in:
parent
25f7408d3b
commit
cb328de5c7
4 changed files with 4 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
||||||
$scope.name = $window.appConfig.nameCase;
|
$scope.name = $window.appConfig.nameCase;
|
||||||
$scope.homeTip = $stateParams.fromOnboarding;
|
$scope.homeTip = $stateParams.fromOnboarding;
|
||||||
$scope.isCordova = platformInfo.isCordova;
|
$scope.isCordova = platformInfo.isCordova;
|
||||||
|
$scope.isAndroid = platformInfo.isAndroid;
|
||||||
|
|
||||||
$scope.$on("$ionicView.afterEnter", function() {
|
$scope.$on("$ionicView.afterEnter", function() {
|
||||||
startupService.ready();
|
startupService.ready();
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
$scope.completeTxHistory = [];
|
$scope.completeTxHistory = [];
|
||||||
$scope.openTxpModal = txpModalService.open;
|
$scope.openTxpModal = txpModalService.open;
|
||||||
$scope.isCordova = platformInfo.isCordova;
|
$scope.isCordova = platformInfo.isCordova;
|
||||||
|
$scope.isAndroid = platformInfo.isAndroid;
|
||||||
|
|
||||||
$scope.openExternalLink = function(url, target) {
|
$scope.openExternalLink = function(url, target) {
|
||||||
externalLinkService.open(url, target);
|
externalLinkService.open(url, target);
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<ion-content class="padding">
|
<ion-content class="padding">
|
||||||
<ion-refresher
|
<ion-refresher
|
||||||
ng-if="isCordova"
|
ng-if="isAndroid"
|
||||||
pulling-icon="ion-ios-refresh"
|
pulling-icon="ion-ios-refresh"
|
||||||
spinner="ios-small"
|
spinner="ios-small"
|
||||||
on-refresh="onRefresh()">
|
on-refresh="onRefresh()">
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
<ion-content has-bouncing="false">
|
<ion-content has-bouncing="false">
|
||||||
<ion-refresher
|
<ion-refresher
|
||||||
ng-if="isCordova"
|
ng-if="isAndroid"
|
||||||
pulling-icon="ion-ios-refresh"
|
pulling-icon="ion-ios-refresh"
|
||||||
spinner="ios-small"
|
spinner="ios-small"
|
||||||
on-refresh="onRefresh()">
|
on-refresh="onRefresh()">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue