Log out active user and key when user is changed or deleted or unset.
This commit is contained in:
@@ -64,10 +64,7 @@
|
||||
|
||||
PearlAddNotificationObserver( MPSignedOutNotification, nil, [NSOperationQueue mainQueue],
|
||||
^(MPMessageViewController *self, NSNotification *note) {
|
||||
if (![note.userInfo[@"animated"] boolValue])
|
||||
[UIView setAnimationsEnabled:NO];
|
||||
[[MPOverlaySegue dismissViewController:self] perform];
|
||||
[UIView setAnimationsEnabled:YES];
|
||||
} );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user