From a01cb04d8532358d6bdac2ba3f5f35b1918d4dfd Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Tue, 19 Feb 2019 13:31:43 -0700 Subject: [PATCH] FIX: Onboarding controller sets phoneNumberAwaitingForVerification --- SignalServiceKit/src/Account/TSAccountManager.h | 5 ----- SignalServiceKit/src/Account/TSAccountManager.m | 5 ----- 2 files changed, 10 deletions(-) diff --git a/SignalServiceKit/src/Account/TSAccountManager.h b/SignalServiceKit/src/Account/TSAccountManager.h index 1f0baf7b5..6cced2d2c 100644 --- a/SignalServiceKit/src/Account/TSAccountManager.h +++ b/SignalServiceKit/src/Account/TSAccountManager.h @@ -27,12 +27,7 @@ typedef NS_ENUM(NSUInteger, OWSRegistrationState) { @interface TSAccountManager : NSObject -// This property is exposed for testing purposes only. -#ifdef DEBUG @property (nonatomic, nullable) NSString *phoneNumberAwaitingVerification; -#endif - -- (void)setPhoneNumberAwaitingVerification:(NSString *_Nullable)phoneNumberAwaitingVerification; #pragma mark - Initializers diff --git a/SignalServiceKit/src/Account/TSAccountManager.m b/SignalServiceKit/src/Account/TSAccountManager.m index 5e2d18a82..976de737e 100644 --- a/SignalServiceKit/src/Account/TSAccountManager.m +++ b/SignalServiceKit/src/Account/TSAccountManager.m @@ -46,11 +46,6 @@ NSString *const TSAccountManager_NeedsAccountAttributesUpdateKey = @"TSAccountMa @property (atomic, readonly) BOOL isRegistered; -// This property is exposed publicly for testing purposes only. -#ifndef DEBUG -@property (nonatomic, nullable) NSString *phoneNumberAwaitingVerification; -#endif - @property (nonatomic, nullable) NSString *cachedLocalNumber; @property (nonatomic, readonly) YapDatabaseConnection *dbConnection;