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;
- (void)resetSignalStorage;
- (void)resetProfileStorage;
#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.
- (void)resetSignalStorage
- (void)resetProfileStorage
{
OWSAssert([NSThread isMainThread]);

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

Loading…
Cancel
Save