mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
More space tweaks (#4584)
* Remove the room count everywhere. * Remove the parent name from restricted spaces.
This commit is contained in:
@@ -16009,7 +16009,6 @@ class SpaceRoomProxyMock: SpaceRoomProxyProtocol, @unchecked Sendable {
|
||||
}
|
||||
var underlyingIsSpace: Bool!
|
||||
var isDirect: Bool?
|
||||
var parent: SpaceRoomProxyProtocol?
|
||||
var childrenCount: Int {
|
||||
get { return underlyingChildrenCount }
|
||||
set(value) { underlyingChildrenCount = value }
|
||||
|
||||
@@ -16,7 +16,6 @@ extension SpaceRoomProxyMock {
|
||||
|
||||
var isSpace: Bool
|
||||
var isDirect: Bool?
|
||||
var parent: SpaceRoomProxyProtocol?
|
||||
var childrenCount = 0
|
||||
|
||||
var joinedMembersCount = 0
|
||||
@@ -38,7 +37,6 @@ extension SpaceRoomProxyMock {
|
||||
avatarURL = configuration.avatarURL
|
||||
isSpace = configuration.isSpace
|
||||
isDirect = configuration.isDirect
|
||||
parent = configuration.parent
|
||||
childrenCount = configuration.childrenCount
|
||||
joinedMembersCount = configuration.joinedMembersCount
|
||||
heroes = configuration.heroes
|
||||
@@ -129,7 +127,6 @@ extension [SpaceRoomProxyProtocol] {
|
||||
SpaceRoomProxyMock(.init(id: "!\(typeName.lowercased())3:matrix.org",
|
||||
name: "Joined \(typeName)",
|
||||
isSpace: isSpace,
|
||||
parent: SpaceRoomProxyMock(.init(name: "Company", isSpace: true)),
|
||||
joinedMembersCount: 123,
|
||||
topic: "Discussion on specific topic goes here.",
|
||||
joinRule: .restricted(rules: []),
|
||||
|
||||
Reference in New Issue
Block a user