diff options
author | Vitaly Takmazov | 2017-11-23 01:10:40 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-11-23 01:10:40 +0300 |
commit | 56ae98114db624dc748cc74d706e14181b22e55d (patch) | |
tree | 043ef103940f66b4a06305e2ddb609193239e08b /Juick/ViewControllers | |
parent | 78bcc152dadae837af41ab4e42fe9c95342c119e (diff) |
drop some pods
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]; } }]; |