diff options
author | 2021-12-01 17:43:49 +0300 | |
---|---|---|
committer | 2021-12-01 17:43:49 +0300 | |
commit | 2c046a01003665aa78ca8f069c215ba1420c76cc (patch) | |
tree | 35bcf521084e3ed242bc841fb1920f4dcf629882 /Juick/ViewControllers/NewPostViewController.m | |
parent | aa02a7e5ee527e20812096a6ae6294adec405877 (diff) |
Present login error correctly on iPad/Mac
Diffstat (limited to 'Juick/ViewControllers/NewPostViewController.m')
-rw-r--r-- | Juick/ViewControllers/NewPostViewController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Juick/ViewControllers/NewPostViewController.m b/Juick/ViewControllers/NewPostViewController.m index 1b655f6..760dd84 100644 --- a/Juick/ViewControllers/NewPostViewController.m +++ b/Juick/ViewControllers/NewPostViewController.m @@ -57,7 +57,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted"; }]; } else { self.navigationController.navigationItem.rightBarButtonItem.enabled = YES; - [User throwUnableToLogin:self error:err path:@"postMessage" params:nil]; + [User throwUnableToLogin:self sourceView:self.navigationItem.rightBarButtonItem error:err path:@"postMessage" params:nil]; } }]; } else { @@ -69,7 +69,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted"; }]; } else { self.navigationItem.rightBarButtonItem.enabled = YES; - [User throwUnableToLogin:self error:err path:@"postreply" params:nil]; + [User throwUnableToLogin:self sourceView:self.navigationItem.rightBarButtonItem error:err path:@"postreply" params:nil]; } }]; } |