diff options
Diffstat (limited to 'Juick/ViewControllers')
-rw-r--r-- | Juick/ViewControllers/LoginViewController.m | 3 | ||||
-rw-r--r-- | Juick/ViewControllers/MessagesViewController.m | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Juick/ViewControllers/LoginViewController.m b/Juick/ViewControllers/LoginViewController.m index d3d1edc..640cd10 100644 --- a/Juick/ViewControllers/LoginViewController.m +++ b/Juick/ViewControllers/LoginViewController.m @@ -10,6 +10,7 @@ #import "User.h" #import "ColorScheme.h" #import "AppDelegate.h" +#import "APIClient.h" @implementation LoginViewController @@ -70,7 +71,7 @@ [self.navigationController.view.layer addAnimation:transition forKey:kCATransition]; [self.navigationController popToRootViewControllerAnimated:NO]; } else { - [User throwUnableToLogin]; + [User throwUnableToLogin:self]; } }]; diff --git a/Juick/ViewControllers/MessagesViewController.m b/Juick/ViewControllers/MessagesViewController.m index e4d0e1c..b91f056 100644 --- a/Juick/ViewControllers/MessagesViewController.m +++ b/Juick/ViewControllers/MessagesViewController.m @@ -9,6 +9,7 @@ #import "MessagesViewController.h" #import "MessageCell.h" +#import "APIClient.h" #import "Message.h" #import "ColorScheme.h" @@ -80,7 +81,7 @@ self.path = [APIClient feedUrl]; [self refreshData]; } else { - [User throwUnableToLogin]; + [User throwUnableToLogin:self]; } }]; |