- Update Pod
- Fix setUser in PNinstallation
This commit is contained in:
1 parent
7f4757d9e0
commit
4eca983cf6
7 files changed
+10
-10
No files matched your search
@@ -139,7 +139,7 @@ static bool isFirstAccess = YES;
|
||||
_user = user;
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationPNInstallationUserChange object:nil];
|
||||
}
|
||||
else if (user == nil){
|
||||
else if (user == nil && _user){
|
||||
_user = nil;
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:PNObjectLocalNotificationPNInstallationUserDelete object:nil];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user