diff --git a/Signal/src/ViewControllers/CodeVerificationViewController.m b/Signal/src/ViewControllers/CodeVerificationViewController.m index 28cd653d41..0c1d5bdef4 100644 --- a/Signal/src/ViewControllers/CodeVerificationViewController.m +++ b/Signal/src/ViewControllers/CodeVerificationViewController.m @@ -126,11 +126,15 @@ NSString *const kCompletedRegistrationSegue = @"CompletedRegistration"; _phoneNumberLabel = [UILabel new]; _phoneNumberLabel.textColor = [UIColor ows_darkGrayColor]; _phoneNumberLabel.font = [UIFont ows_regularFontWithSize:20.f]; + _phoneNumberLabel.numberOfLines = 2; + _phoneNumberLabel.adjustsFontSizeToFitWidth = YES; [self.view addSubview:_phoneNumberLabel]; - [_phoneNumberLabel autoHCenterInSuperview]; - [_phoneNumberLabel autoPinEdge:ALEdgeTop toEdge:ALEdgeBottom ofView:header - withOffset:ScaleFromIPhone5To7Plus(25, 100)]; - + [_phoneNumberLabel autoPinWidthToSuperviewWithMargin:ScaleFromIPhone5(32)]; + [_phoneNumberLabel autoPinEdge:ALEdgeTop + toEdge:ALEdgeBottom + ofView:header + withOffset:ScaleFromIPhone5To7Plus(30, 100)]; + const CGFloat kHMargin = 36; _challengeTextField = [UITextField new]; diff --git a/Signal/translations/en.lproj/Localizable.strings b/Signal/translations/en.lproj/Localizable.strings index e78a287f0b..b79c554ece 100644 --- a/Signal/translations/en.lproj/Localizable.strings +++ b/Signal/translations/en.lproj/Localizable.strings @@ -1088,7 +1088,7 @@ "VERIFICATION_HEADER" = "Verify"; /* Label indicating the phone number currently being verified. */ -"VERIFICATION_PHONE_NUMBER_FORMAT" = "Verifying: %@"; +"VERIFICATION_PHONE_NUMBER_FORMAT" = "Enter the verification code we sent to %@."; /* table cell label in conversation settings */ "VERIFY_PRIVACY" = "Verify Safety Number";