src/Accounts/eventScanner.js
// trigger the final check-in success or failure feedback, wait a little bit, then reset
trigger the final check-in success or failure feedback, wait a little bit, then reset
trigger the final check - in success or failure feedback wait a little bit then reset
_finishCheckIn(error = null) {
    let delay
    if (error) {
      this.setState({error})
      vibe.sad()
      delay = DELAY_SLOW
    } else {
      vibe.happy()
      delay = this.state.checkInMode === 'automatic' ? DELAY_SLOW : DELAY_FAST
    }
    this.setState({showStatusMessage: true})
    this.resetTimer = setTimeout(() => this._reset(), delay)
  }
_finishCheckIn ( error = null ) { let delay if ( error ) { this . setState ( { error } ) vibe . sad ( ) delay = DELAY_SLOW } else { vibe . happy ( ) delay = this . state . checkInMode === 'automatic' ? DELAY_SLOW : DELAY_FAST } this . setState ( { showStatusMessage : true } ) this . resetTimer = setTimeout ( ( ) => this . _reset ( ) , delay ) }
trigger the final check-in success or failure feedback, wait a little bit, then reset
trigger the final check - in success or failure feedback wait a little bit then reset