Skip to content

Commit

Permalink
♻️ :: 함수명 스타일에 맞게 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
shwaaaa committed Nov 27, 2023
1 parent 06b0b27 commit 6ace03b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions App/Sources/Feature/LectureListFeature/LectureListView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct LectureListView: View {
NavigationLink {
lectureListDetailFactory.makeView().eraseToAnyView()
} label: {
LectureRow()
lectureListRowView()
}

Divider()
Expand Down Expand Up @@ -50,7 +50,7 @@ struct LectureListView: View {
}
}
.bitgouelBottomSheet(isShowing: $isShowingFilter) {
FilterView()
filterView()
}
.bitgouelToast(
text: "강의 신청을 승인했습니다.",
Expand All @@ -59,7 +59,7 @@ struct LectureListView: View {
}

@ViewBuilder
func LectureRow() -> some View {
func lectureListRowView() -> some View {
VStack(alignment: .leading, spacing: 12) {
HStack(spacing: 8) {
Text("모시깽이 교수")
Expand Down Expand Up @@ -111,7 +111,7 @@ struct LectureListView: View {
}

@ViewBuilder
func FilterView() -> some View {
func filterView() -> some View {
HStack {
VStack(alignment: .leading, spacing: 16) {
Text("필터")
Expand All @@ -122,7 +122,7 @@ struct LectureListView: View {
Text("강의 유형")
.bitgouelFont(.text1)

LectureTypeList()
lectureTypeList()
.padding(.top, 3)
}

Expand All @@ -132,7 +132,7 @@ struct LectureListView: View {
.bitgouelFont(.text1)
.padding(.top, 11)

ApproveStatusTypeList()
approveStatusTypeList()
.padding(.top, 3)
}
}
Expand All @@ -150,7 +150,7 @@ struct LectureListView: View {
}

@ViewBuilder
func LectureTypeList() -> some View {
func lectureTypeList() -> some View {
ForEach(viewModel.lectureType, id: \.self) { lectureType in
HStack {
CheckButton(
Expand All @@ -170,7 +170,7 @@ struct LectureListView: View {
}

@ViewBuilder
func ApproveStatusTypeList() -> some View {
func approveStatusTypeList() -> some View {
ForEach(viewModel.approveStatusType, id: \.self) { approveStatusType in
HStack {
CheckButton(
Expand Down

0 comments on commit 6ace03b

Please sign in to comment.