refactor completed

This commit is contained in:
Mauro Romito
2023-03-06 14:59:03 +01:00
parent eb55e1553c
commit 09daa04dd4
49 changed files with 72 additions and 72 deletions
+2 -2
View File
@@ -607,14 +607,14 @@
inMatrixSession:(MXSession*)mxSession
{
if (roomParentId) {
NSString *parentName = [mxSession roomSummaryWithRoomId:roomParentId].displayname;
NSString *parentName = [mxSession roomSummaryWithRoomId:roomParentId].displayName;
NSMutableArray<NSString *> *breadcrumbs = [[NSMutableArray alloc] initWithObjects:parentName, nil];
MXSpace *firstRootAncestor = roomParentId ? [mxSession.spaceService firstRootAncestorForRoomWithId:roomParentId] : nil;
NSString *rootName = nil;
if (firstRootAncestor)
{
rootName = [mxSession roomSummaryWithRoomId:firstRootAncestor.spaceId].displayname;
rootName = [mxSession roomSummaryWithRoomId:firstRootAncestor.spaceId].displayName;
[breadcrumbs insertObject:rootName atIndex:0];
}
titleView.breadcrumbView.breadcrumbs = breadcrumbs;