Merge branch 'mkirk/fix-2fa-registration-layout' into release/2.22.0

pull/1/head
Michael Kirk 7 years ago
commit c4f89c0a0e

@ -74,7 +74,10 @@ NS_ASSUME_NONNULL_BEGIN
@"REGISTER_2FA_INSTRUCTIONS", @"Instructions to enter the 'two-factor auth pin' in the 2FA registration view."); @"REGISTER_2FA_INSTRUCTIONS", @"Instructions to enter the 'two-factor auth pin' in the 2FA registration view.");
// Layout // Layout
[entryView autoPinEdgesToSuperviewMargins]; [entryView autoPinToTopLayoutGuideOfViewController:self withInset:0];
[entryView autoPinEdgeToSuperviewMargin:ALEdgeLeft];
[entryView autoPinEdgeToSuperviewMargin:ALEdgeRight];
[entryView autoPinToBottomLayoutGuideOfViewController:self withInset:0];
} }
- (void)viewWillAppear:(BOOL)animated - (void)viewWillAppear:(BOOL)animated

@ -26,8 +26,6 @@ class NonCallKitCallUIAdaptee: NSObject, CallUIAdaptee {
self.notificationsAdapter = notificationsAdapter self.notificationsAdapter = notificationsAdapter
super.init() super.init()
SwiftSingletons.register(self)
} }
func startOutgoingCall(handle: String) -> SignalCall { func startOutgoingCall(handle: String) -> SignalCall {

@ -116,7 +116,7 @@ NS_ASSUME_NONNULL_BEGIN
- (void)createContents - (void)createContents
{ {
const CGFloat kVSpacing = 30.f; const CGFloat kVSpacing = ScaleFromIPhone5(12);
UILabel *instructionsLabel = [self createLabelWithText:nil]; UILabel *instructionsLabel = [self createLabelWithText:nil];
self.instructionsLabel = instructionsLabel; self.instructionsLabel = instructionsLabel;

Loading…
Cancel
Save