client/webserver/site/src/js/doc.js
/* reads the core.Wallet state and sets the icon visibility. */
reads the core.Wallet state and sets the icon visibility.
reads the core . Wallet state and sets the icon visibility .
readWallet (wallet) {
    switch (true) {
      case (!wallet):
        this.nowallet()
        break
      case (!wallet.running):
        this.sleeping()
        break
      case (!wallet.open):
        this.locked()
        break
      case (wallet.open):
        this.unlocked()
        break
      default:
        console.error('wallet in unknown state', wallet)
    }
  }
readWallet ( wallet ) { switch ( true ) { case ( ! wallet ) : this . nowallet ( ) break case ( ! wallet . running ) : this . sleeping ( ) break case ( ! wallet . open ) : this . locked ( ) break case ( wallet . open ) : this . unlocked ( ) break default : console . error ( 'wallet in unknown state' , wallet ) } }
reads the core.Wallet state and sets the icon visibility.
reads the core . Wallet state and sets the icon visibility .