File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class ViewController: UIViewController {
3333
3434 @IBAction func forceReloadUserStatus( ) {
3535 logStatusChange ( string: " Force reload of user " )
36- CurrentUser . sharedInstance. currentStatus ( forcedReload: true ) { status in
36+ CurrentUser . sharedInstance. currentStatus ( forcedReload: true ) { status, error in
3737 self . logStatusChange ( status: status)
3838 }
3939 }
@@ -42,15 +42,15 @@ class ViewController: UIViewController {
4242 logStatusChange ( string: " Log user identifier " )
4343 CurrentUser . sharedInstance. userIdentifier { userIdentifier, error in
4444 if let userIdentifier = userIdentifier {
45- self . logStatusChange ( string: " User identifier: \( userIdentifier. userIdentifierString ) " )
45+ self . logStatusChange ( string: " User identifier: \( userIdentifier) " )
4646 } else {
4747 self . logStatusChange ( string: " Unable to get user identifier " )
4848 }
4949 }
5050 }
5151
5252 @objc private func getUserStatus( ) {
53- CurrentUser . sharedInstance. currentStatus { status in
53+ CurrentUser . sharedInstance. currentStatus { status, error in
5454 self . logStatusChange ( status: status)
5555 }
5656 }
You can’t perform that action at this time.
0 commit comments