Enable cache for nav tabs
This commit is contained in:
parent
b86f2e240d
commit
889ebb8c6c
9 changed files with 44 additions and 37 deletions
|
|
@ -3,7 +3,7 @@
|
|||
<ion-nav-title>{{'Home' | translate}}</ion-nav-title>
|
||||
</ion-nav-bar>
|
||||
|
||||
<ion-content class="padding" ng-controller="tabHomeController" ng-init="updateAllWallets(); nextStep()">
|
||||
<ion-content class="padding">
|
||||
<div class="list card homeTip" ng-show="homeTip">
|
||||
<div class="item item-icon-right item-heading">
|
||||
<a ng-click="hideHomeTip()"><i class="icon ion-ios-close-empty close-home-tip"></i></a>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<ion-view id="tab-receive" ng-controller="tabReceiveController" ng-init="init()">
|
||||
<ion-view id="tab-receive">
|
||||
<ion-nav-bar class="bar-royal">
|
||||
<ion-nav-title>{{'Receive' | translate}}</ion-nav-title>
|
||||
<ion-nav-buttons side="secondary">
|
||||
|
|
@ -10,8 +10,11 @@
|
|||
<ion-content>
|
||||
<article id="address">
|
||||
<div class="row">
|
||||
<div class="m15t text-center col col-60 center-block" copy-to-clipboard="addr">
|
||||
<qrcode size="220" data="bitcoin:{{addr}}"></qrcode>
|
||||
<div class="m15t text-center col center-block" copy-to-clipboard="addr">
|
||||
<qrcode ng-if="addr" size="220" data="bitcoin:{{addr}}"></qrcode>
|
||||
<div ng-if="!addr" style="height:220px; width:220px; margin:auto; background: white; padding-top: 20%;">
|
||||
...
|
||||
</div>
|
||||
<div ng-if="wallet.needsBackup" class="assertive m10t" translate>
|
||||
Before receiving funds, you must backup your wallet. If this device is lost, it is impossible to access your funds without a backup.
|
||||
</div>
|
||||
|
|
@ -25,7 +28,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="col" ng-class="{'center-block col-50': !isCordova || !addr}">
|
||||
<div class="item item-icon-left" ng-click="setAddress(null, true)">
|
||||
<div class="item item-icon-left" ng-click="setAddress(true)">
|
||||
<i class="icon ion-ios-loop"></i>
|
||||
<span translate>Next Address</span>
|
||||
</div>
|
||||
|
|
@ -46,11 +49,7 @@
|
|||
<span translate>No Wallet</span>
|
||||
</div>
|
||||
<div class="list" ng-if="wallets[0]">
|
||||
<!-- <div class="item item-icon-left" ng-click="setAddress(null, true)">
|
||||
<i class="icon ion-ios-loop"></i>
|
||||
<span translate>Next Address</span>
|
||||
</div> -->
|
||||
<wallets ng-if="wallets[0]" wallets="wallets"></wallets>
|
||||
<wallets wallets="wallets"></wallets>
|
||||
</div>
|
||||
</article>
|
||||
</ion-content>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<ion-nav-title>{{'Send' | translate}}</ion-nav-title>
|
||||
</ion-nav-bar>
|
||||
|
||||
<ion-content ng-controller="tabSendController" ng-init="init()">
|
||||
<ion-content>
|
||||
<div>
|
||||
<div class="item item-heading" translate>Recipient</div>
|
||||
<label class="item item-input bitcoin-address">
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<ion-nav-title>{{'Global Settings' | translate}}</ion-nav-title>
|
||||
</ion-nav-bar>
|
||||
|
||||
<ion-content ng-controller="tabSettingsController" ng-init="init()">
|
||||
<ion-content>
|
||||
<div class="list">
|
||||
<div class="item item-divider"></div>
|
||||
<a class="item item-icon-left item-icon-right" ui-sref="tabs.addressbook">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue