diff --git a/Signal/src/ViewControllers/HomeView/HomeViewController.m b/Signal/src/ViewControllers/HomeView/HomeViewController.m index 88eb9f6f0..2e8ab8ba1 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewController.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewController.m @@ -482,19 +482,6 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations [self.searchResultsController viewDidAppear:animated]; self.hasEverAppeared = YES; - - dispatch_async(dispatch_get_main_queue(), ^{ - OnboardingController *onboardingController = [OnboardingController new]; - [onboardingController - updateWithPhoneNumber:[[OnboardingPhoneNumber alloc] initWithE164:@"+13213214321" userInput:@"3213214321"]]; - - // UIViewController *view = [onboardingController initialViewController]; - UIViewController *view = - [[OnboardingVerificationViewController alloc] initWithOnboardingController:onboardingController]; - OWSNavigationController *navigationController = - [[OWSNavigationController alloc] initWithRootViewController:view]; - [self presentViewController:navigationController animated:YES completion:nil]; - }); } - (void)viewDidDisappear:(BOOL)animated diff --git a/Signal/src/ViewControllers/Registration/OnboardingBaseViewController.swift b/Signal/src/ViewControllers/Registration/OnboardingBaseViewController.swift index 79bffb0c2..7ed43e10a 100644 --- a/Signal/src/ViewControllers/Registration/OnboardingBaseViewController.swift +++ b/Signal/src/ViewControllers/Registration/OnboardingBaseViewController.swift @@ -57,10 +57,6 @@ public class OnboardingBaseViewController: OWSViewController { return button(title: title, selector: selector, titleColor: .ows_materialBlue, backgroundColor: .white) } - func disabledLinkButton(title: String, selector: Selector) -> OWSFlatButton { - return self.button(title: title, selector: selector, titleColor: Theme.secondaryColor, backgroundColor: .white) - } - private func button(title: String, selector: Selector, titleColor: UIColor, backgroundColor: UIColor) -> OWSFlatButton { // TODO: Make sure this all fits if dynamic font sizes are maxed out. let font = UIFont.ows_dynamicTypeBodyClamped.ows_mediumWeight() diff --git a/Signal/translations/en.lproj/Localizable.strings b/Signal/translations/en.lproj/Localizable.strings index 06695486d..a8bce1482 100644 --- a/Signal/translations/en.lproj/Localizable.strings +++ b/Signal/translations/en.lproj/Localizable.strings @@ -1556,9 +1556,6 @@ /* Label for the 'resend code by voice' button in the 'onboarding verification' view. */ "ONBOARDING_VERIFICATION_RESEND_CODE_BY_VOICE_BUTTON" = "Call me instead"; -/* Label for the link that lets users request another verification code. */ -"ONBOARDING_VERIFICATION_RESEND_CODE_LINK" = "ONBOARDING_VERIFICATION_RESEND_CODE_LINK"; - /* Label for link that can be used when the resent code did not arrive. */ "ONBOARDING_VERIFICATION_RESENT_CODE_MISSING_LINK" = "Still no code?";