summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-12-01 22:19:07 +0300
committerGravatar Vitaly Takmazov2021-12-01 22:19:07 +0300
commitdd972b5e1e15f3e76fa3eba83be547bb97335262 (patch)
tree9c2cdb99cd9547232c851973dc21788ab034b69f /Juick
parent5325cf1ceaccc26091e196b62d76ba2d2efce2da (diff)
Fix warnings
Diffstat (limited to 'Juick')
-rw-r--r--Juick/ViewControllers/NewPostViewController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Juick/ViewControllers/NewPostViewController.m b/Juick/ViewControllers/NewPostViewController.m
index 760dd84..18ae15b 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 sourceView:self.navigationItem.rightBarButtonItem error:err path:@"postMessage" params:nil];
+ [User throwUnableToLogin:self sourceView:self.view error:err path:@"postMessage" params:nil];
}
}];
} else {
@@ -69,7 +69,7 @@ NSString * const ReplyPostedNotificationName = @"ReplyPosted";
}];
} else {
self.navigationItem.rightBarButtonItem.enabled = YES;
- [User throwUnableToLogin:self sourceView:self.navigationItem.rightBarButtonItem error:err path:@"postreply" params:nil];
+ [User throwUnableToLogin:self sourceView:self.view error:err path:@"postreply" params:nil];
}
}];
}