Remove the TabBarController

This commit is contained in:
giomfo
2015-11-18 00:15:52 +01:00
parent db42bb5130
commit ef28b58abb
13 changed files with 502 additions and 695 deletions
+3 -3
View File
@@ -165,7 +165,7 @@
if (self.roomDataSource)
{
// Set visible room id
[AppDelegate theDelegate].masterTabBarController.visibleRoomId = self.roomDataSource.roomId;
[AppDelegate theDelegate].visibleRoomId = self.roomDataSource.roomId;
}
}
@@ -174,7 +174,7 @@
[super viewDidDisappear:animated];
// Reset visible room id
[AppDelegate theDelegate].masterTabBarController.visibleRoomId = nil;
[AppDelegate theDelegate].visibleRoomId = nil;
}
- (void)viewDidLayoutSubviews
@@ -217,7 +217,7 @@
[self.mainSession joinRoom:roomAlias success:^(MXRoom *room)
{
// Show the room
[[AppDelegate theDelegate].masterTabBarController showRoom:room.state.roomId withMatrixSession:self.mainSession];
[[AppDelegate theDelegate] showRoom:room.state.roomId withMatrixSession:self.mainSession];
} failure:^(NSError *error)
{
NSLog(@"[Console RoomVC] Join roomAlias (%@) failed: %@", roomAlias, error);