       @_isLoggingIn = isLoggingIn
     else
       @_isLoggingIn ? no
+
 
   setFailTimer: do->
     notification = null

bowser                         = require 'bowser'


module.exports           = class MainController extends KDController

  ###


      kd.utils.wait @getOptions().failWait, checkConnectionState
      @on "AccountChanged", -> notification.destroy()  if notification


  detectIdleUser: (threshold = globals.config.userIdleMs) ->
    idleDetector = new IdleUserDetector { threshold }
    @forwardEvents idleDetector, ['userIdle', 'userBack']


  prepareSupportShortcuts: ->

