Bug Fix: App crashes while the user switches the selected tab

#1233
This commit is contained in:
Giom Foret
2017-05-19 17:22:26 +02:00
parent 84f2845c04
commit 4e48cfa86c
5 changed files with 51 additions and 6 deletions
@@ -47,6 +47,10 @@
self.view.accessibilityIdentifier = @"RoomsVCView";
self.recentsTableView.accessibilityIdentifier = @"RoomsVCTableView";
// Tag the recents table with the its recents data source mode.
// This will be used by the shared RecentsDataSource instance for sanity checks (see UITableViewDataSource methods).
self.recentsTableView.tag = RecentsDataSourceModeRooms;
// Add the (+) button programmatically
[self addPlusButton];