author Ben Hayward
  import { Injectable } from '@angular/core' ; import { Storage } from '../../../services/storage' ; @ Injectable ( ) export class WalletTabHistoryService { constructor ( private storage ) { } returns { string } get lastTab ( ) : string { const tab = this . storage . get ( 'previous_wallet_tab' ) ; return tab ; } param { string } returns { void } set lastTab ( tab ) { this . storage . set ( 'previous_wallet_tab' , tab ) ; } }