Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 6ac4d8e971
commit 03774216a0

@ -18,7 +18,7 @@ extern NSString *const kNSNotificationName_OtherUsersProfileDidChange;
+ (instancetype)sharedManager; + (instancetype)sharedManager;
- (void)resetSignalStorage; - (void)resetProfileStorage;
#pragma mark - Local Profile #pragma mark - Local Profile

@ -830,7 +830,7 @@ static const NSInteger kProfileKeyLength = 16;
// TODO: We may want to clean up this directory in the "orphan cleanup" logic. // TODO: We may want to clean up this directory in the "orphan cleanup" logic.
- (void)resetSignalStorage - (void)resetProfileStorage
{ {
OWSAssert([NSThread isMainThread]); OWSAssert([NSThread isMainThread]);

@ -241,7 +241,7 @@ static Environment *environment = nil;
[DDLog flushLog]; [DDLog flushLog];
[[TSStorageManager sharedManager] resetSignalStorage]; [[TSStorageManager sharedManager] resetSignalStorage];
[[OWSProfileManager sharedManager] resetSignalStorage]; [[OWSProfileManager sharedManager] resetProfileStorage];
[Environment.preferences clear]; [Environment.preferences clear];
[[UIApplication sharedApplication] setApplicationIconBadgeNumber:0]; [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];

Loading…
Cancel
Save