Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Commit

Permalink
remove button to direct to settings when logging in (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashei authored May 21, 2019
1 parent f956711 commit 3500e2c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
6 changes: 1 addition & 5 deletions lockbox-ios/Presenter/WelcomePresenter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,7 @@ extension WelcomePresenter {
AlertActionButtonConfiguration(
title: Constant.string.skip,
tapObserver: self.skipButtonObserver,
style: .cancel),
AlertActionButtonConfiguration(
title: Constant.string.setPasscode,
tapObserver: self.setPasscodeButtonObserver,
style: .default)
style: .cancel)
]
}

Expand Down
11 changes: 0 additions & 11 deletions lockbox-iosTests/WelcomePresenterSpec.swift
Original file line number Diff line number Diff line change
Expand Up @@ -275,17 +275,6 @@ class WelcomePresenterSpec: QuickSpec {
expect(argument).to(equal(.fxa))
}
}

describe("tapping the set passcode button") {
beforeEach {
self.view.alertControllerButtons![1].tapObserver!.onNext(())
}

it("routes to the touchid / passcode settings page") {
let action = self.dispatcher.dispatchedActions.popLast() as! SettingLinkAction
expect(action).to(equal(.touchIDPasscode))
}
}
}
}

Expand Down

0 comments on commit 3500e2c

Please sign in to comment.