Respond to CR.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-08-04 10:32:00 -04:00
parent 6ac4d8e971
commit 03774216a0
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -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]);

View File

@ -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];