Update files following swiftformat upgrade

This commit is contained in:
Stefan Ceriu
2026-01-27 08:47:03 +02:00
committed by Stefan Ceriu
parent fe189fcfed
commit 23062901c0
343 changed files with 1502 additions and 1048 deletions
@@ -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)"
}