Run SwiftFormat.

This commit is contained in:
Doug
2026-05-27 14:38:50 +01:00
committed by Doug
parent 5138e05e47
commit fa67713726
573 changed files with 2426 additions and 2426 deletions
@@ -24,7 +24,7 @@ struct UserProfileScreenViewState: BindableState {
var isVerified: Bool?
var permalink: URL?
var dmRoomID: String?
var bindings: UserProfileScreenViewStateBindings
var showVerifiedBadge: Bool {
@@ -71,7 +71,7 @@ class UserProfileScreenViewModel: UserProfileScreenViewModelType, UserProfileScr
actionsSubject.send(.dismiss)
}
}
// MARK: - Private
private func loadProfile() async {
@@ -169,7 +169,7 @@ class UserProfileScreenViewModel: UserProfileScreenViewModelType, UserProfileScr
private var loadingIndicatorIdentifier: String {
"\(Self.self)-Loading"
}
private var statusIndicatorIdentifier: String {
"\(Self.self)-Status"
}
@@ -91,7 +91,7 @@ struct UserProfileScreen: View {
}
.padding(.top, 32)
}
@ToolbarContentBuilder
private var toolbar: some ToolbarContent {
if context.viewState.isPresentedModally {
@@ -138,11 +138,11 @@ struct UserProfileScreen_Previews: PreviewProvider, TestablePreview {
return .success(identity)
}
if userID != RoomMemberProxyMock.mockMe.userID {
clientProxyMock.directRoomForUserIDReturnValue = .success("roomID")
}
return UserProfileScreenViewModel(userID: userID,
isPresentedModally: false,
userSession: UserSessionMock(.init(clientProxy: clientProxyMock)),