Skip to content

Commit

Permalink
Post notification after status has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
JagCesar committed Aug 17, 2018
1 parent ec6a50a commit 497120e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Sources/CurrentUser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ public class CurrentUser {
@objc func statusChanged() {
userIdentifier = nil
status = .NotDetermined
currentStatus(forcedReload: true) { _ in

currentStatus(forcedReload: true) { _, _ in
NotificationCenter.default.post(name: CurrentUser.statusChangedNotification, object: nil)
}
NotificationCenter.default.post(name: CurrentUser.statusChangedNotification, object: nil)
}
}

0 comments on commit 497120e

Please sign in to comment.