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
@@ -33,7 +33,7 @@ struct UserDetailsEditScreenViewState: BindableState {
var nameDidChange: Bool {
bindings.name != currentDisplayName
}
var avatarDidChange: Bool {
localMedia != nil || selectedAvatarURL != currentAvatarURL
}
@@ -12,7 +12,7 @@ import SwiftUI
struct UserDetailsEditScreen: View {
@Bindable var context: UserDetailsEditScreenViewModel.Context
@FocusState private var focus: Bool
var body: some View {
Form {
Section {
@@ -55,7 +55,7 @@ struct UserDetailsEditScreen: View {
.disabled(!context.viewState.canSave)
}
}
private var avatar: some View {
Button {
context.send(viewAction: .presentMediaSource)
@@ -76,7 +76,7 @@ struct UserDetailsEditScreen: View {
.frame(maxWidth: .infinity, alignment: .center)
.listRowBackground(Color.clear)
}
private var nameSection: some View {
Section {
ListRow(label: .plain(title: L10n.screenEditProfileDisplayNamePlaceholder),