Skip to content

Commit 2caa0ae

Browse files
committed
Rename UserDetailView to UserDetailsView
1 parent 7f9b87c commit 2caa0ae

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Modules/Sources/WordPressUI/Views/Users/Components/UserListItem.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct UserListItem: View {
2020

2121
var body: some View {
2222
NavigationLink {
23-
UserDetailView(user: user, userProvider: userProvider, actionDispatcher: actionDispatcher)
23+
UserDetailsView(user: user, userProvider: userProvider, actionDispatcher: actionDispatcher)
2424
} label: {
2525
HStack(alignment: .top) {
2626
if !dynamicTypeSize.isAccessibilitySize {

Modules/Sources/WordPressUI/Views/Users/Views/UserDetailView.swift renamed to Modules/Sources/WordPressUI/Views/Users/Views/UserDetailsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import SwiftUI
22

3-
struct UserDetailView: View {
3+
struct UserDetailsView: View {
44

55
private let userProvider: UserDataProvider
66
private let actionDispatcher: UserManagementActionDispatcher
@@ -142,7 +142,7 @@ private struct UserDetailLabeledContentStyle: LabeledContentStyle {
142142

143143
#Preview {
144144
NavigationStack {
145-
UserDetailView(user: DisplayUser.MockUser, userProvider: MockUserProvider(), actionDispatcher: UserManagementActionDispatcher())
145+
UserDetailsView(user: DisplayUser.MockUser, userProvider: MockUserProvider(), actionDispatcher: UserManagementActionDispatcher())
146146
}
147147
}
148148

0 commit comments

Comments
 (0)