Rename addNavBarButtons to setNavBarButtons

This commit is contained in:
yannick
2015-12-02 08:32:39 +01:00
parent 5993012c65
commit cc0d42b2fc
2 changed files with 6 additions and 6 deletions
@@ -50,7 +50,7 @@
@implementation RoomParticipantsViewController
- (void)addNavBarButtons
- (void)setNavBarButtons
{
// this viewController can be displayed
// 1- with a "standard" push mode
@@ -117,14 +117,14 @@
// ensure that the separator line is not displayed
self.tableView.separatorColor = [UIColor clearColor];
[self addNavBarButtons];
[self setNavBarButtons];
}
// this method is called when the viewcontroller is displayed inside another one.
- (void)didMoveToParentViewController:(nullable UIViewController *)parent
{
[super didMoveToParentViewController:parent];
[self addNavBarButtons];
[self setNavBarButtons];
}
- (void)didReceiveMemoryWarning