mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -18,8 +18,13 @@ final class LeaveSpaceHandleProxy {
|
||||
|
||||
private let leaveHandle: LeaveSpaceHandleProtocol
|
||||
|
||||
var canLeave: Bool { mode != .spaceNeedsNewOwner }
|
||||
var selectedCount: Int { rooms.count { $0.isSelected } }
|
||||
var canLeave: Bool {
|
||||
mode != .spaceNeedsNewOwner
|
||||
}
|
||||
|
||||
var selectedCount: Int {
|
||||
rooms.count { $0.isSelected }
|
||||
}
|
||||
|
||||
init(spaceID: String, leaveHandle: LeaveSpaceHandleProtocol) {
|
||||
id = spaceID
|
||||
|
||||
@@ -10,7 +10,9 @@ import Combine
|
||||
import MatrixRustSDK
|
||||
|
||||
class SpaceRoomListProxy: SpaceRoomListProxyProtocol {
|
||||
var id: String { spaceServiceRoomPublisher.value.id }
|
||||
var id: String {
|
||||
spaceServiceRoomPublisher.value.id
|
||||
}
|
||||
|
||||
private let spaceRoomList: SpaceRoomListProtocol
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ struct SpaceServiceFilter: Identifiable, Equatable {
|
||||
descendants = Set(filter.descendants)
|
||||
}
|
||||
|
||||
// Same rooms might appear on multiple levels
|
||||
/// Same rooms might appear on multiple levels
|
||||
var id: String {
|
||||
room.id + "\(level)"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user