           AppLog.error("Failed to update watch application context: \(error)")
         }
       })
-      .addDisposableTo(self.disposeBag)
   }
 
 }

          result[SharedConstants.ApplicationContextKeys.accountApiKey.rawValue] = account.apikey
        }
        return result
      }

    let watchSessionState = WCSession.default().rx.observe(WCSessionActivationState.self, "activationState")
      .distinctUntilChanged { $0 == $1 }
      .filter { $0 == .activated }

    Observable
      .combineLatest(applicationContext, watchSessionState) { applicationContext, _ in
        return applicationContext
      }

  private let loginController: LoginController

  private let disposeBag = DisposeBag()
  private var applicationContextDisposable: Disposable?

  // Inputs
  let complicationFeedId = Variable<String?>(nil)
