mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 06:36:58 +02:00
refactor completed
This commit is contained in:
@@ -1103,7 +1103,7 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
||||
RecentEmptySectionTableViewCell *tableViewCell = [tableView dequeueReusableCellWithIdentifier:[RecentEmptySpaceSectionTableViewCell defaultReuseIdentifier]];
|
||||
|
||||
tableViewCell.iconView.image = [ThemeService.shared isCurrentThemeDark] ? AssetImages.allChatsEmptySpaceArtworkDark.image : AssetImages.allChatsEmptySpaceArtwork.image;
|
||||
tableViewCell.titleLabel.text = [VectorL10n allChatsEmptyViewTitle: self.currentSpace.summary.displayname];
|
||||
tableViewCell.titleLabel.text = [VectorL10n allChatsEmptyViewTitle: self.currentSpace.summary.displayName];
|
||||
tableViewCell.messageLabel.text = VectorL10n.allChatsEmptySpaceInformation;
|
||||
|
||||
return tableViewCell;
|
||||
@@ -1670,7 +1670,7 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
||||
|
||||
NSString* tagOrder = [room.mxSession tagOrderToBeAtIndex:newPath.row from:oldPos withTag:dstRoomTag];
|
||||
|
||||
MXLogDebug(@"[RecentsDataSource] Update the room %@ [%@] tag from %@ to %@ with tag order %@", room.roomId, room.summary.displayname, oldRoomTag, dstRoomTag, tagOrder);
|
||||
MXLogDebug(@"[RecentsDataSource] Update the room %@ [%@] tag from %@ to %@ with tag order %@", room.roomId, room.summary.displayName, oldRoomTag, dstRoomTag, tagOrder);
|
||||
|
||||
[room replaceTag:oldRoomTag
|
||||
byTag:dstRoomTag
|
||||
|
||||
@@ -95,7 +95,7 @@ public class MockRecentsListService: NSObject, RecentsListServiceProtocol {
|
||||
} else if i % 11 == 0 {
|
||||
room.dataTypes = .serverNotice
|
||||
}
|
||||
room.displayname = "Room \(i+1)"
|
||||
room.displayName = "Room \(i+1)"
|
||||
if let event = MXEvent(fromJSON: [
|
||||
"event_id": MXTools.generateTransactionId() as Any,
|
||||
"room_id": room.roomId,
|
||||
|
||||
@@ -26,7 +26,7 @@ public class MockRoomSummary: NSObject, MXRoomSummaryProtocol {
|
||||
|
||||
public var avatar: String?
|
||||
|
||||
public var displayname: String?
|
||||
public var displayName: String?
|
||||
|
||||
public var topic: String?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user