We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec6a50a commit 497120eCopy full SHA for 497120e
1 file changed
Sources/CurrentUser.swift
@@ -86,9 +86,8 @@ public class CurrentUser {
86
@objc func statusChanged() {
87
userIdentifier = nil
88
status = .NotDetermined
89
- currentStatus(forcedReload: true) { _ in
90
-
+ currentStatus(forcedReload: true) { _, _ in
+ NotificationCenter.default.post(name: CurrentUser.statusChangedNotification, object: nil)
91
}
92
- NotificationCenter.default.post(name: CurrentUser.statusChangedNotification, object: nil)
93
94
0 commit comments