From 6ad81d0c161229603d7d9b7bb27852583d1d3eb0 Mon Sep 17 00:00:00 2001 From: SBiOSoftWhare Date: Mon, 7 Jun 2021 15:24:51 +0200 Subject: [PATCH] MasterTabBarController: Force type of Matrix session arrays. --- Riot/Modules/TabBar/MasterTabBarController.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Riot/Modules/TabBar/MasterTabBarController.m b/Riot/Modules/TabBar/MasterTabBarController.m index 501ece829..2ee405d94 100644 --- a/Riot/Modules/TabBar/MasterTabBarController.m +++ b/Riot/Modules/TabBar/MasterTabBarController.m @@ -34,7 +34,7 @@ @interface MasterTabBarController () { // Array of `MXSession` instances. - NSMutableArray *mxSessionArray; + NSMutableArray *mxSessionArray; // Tell whether the authentication screen is preparing. BOOL isAuthViewControllerPreparing; @@ -284,7 +284,7 @@ #pragma mark - -- (NSArray*)mxSessions +- (NSArray*)mxSessions { return [NSArray arrayWithArray:mxSessionArray]; } @@ -339,7 +339,7 @@ [self.groupsViewController displayList:groupsDataSource]; // Check whether there are others sessions - NSArray* mxSessions = self.mxSessions; + NSArray* mxSessions = self.mxSessions; if (mxSessions.count > 1) { for (MXSession *mxSession in mxSessions)