Skip to content

Commit 840f41d

Browse files
committed
[#465] 불필요한 주석 삭제
1 parent ad11f96 commit 840f41d

File tree

5 files changed

+124
-30
lines changed

5 files changed

+124
-30
lines changed

DesignSystem/Views/DynamicCellLayout.swift

+1-3
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ struct DynamicCellLayout<Data: RandomAccessCollection>: View where Data.Element:
3333
var resultRows = [[Data.Element]]()
3434

3535
for (index, item) in items.enumerated() {
36-
// 편집 모드일 때는 아이템 너비가 더 넓어져야 함
37-
// 그래서 Bool 값으로 여부를 판단후 길이 계산
38-
let itemWidth = item.itemWidth(isEditMode: isEditMode ?? false)
36+
let itemWidth = item.itemWidth(isEditMode: isEditMode)
3937
if currentWidth + itemWidth + 10 >= screenWidth {
4038
resultRows.append(currentArrays)
4139
currentArrays.removeAll()
File renamed without changes.

Presentation/Home/HomeSearch/Cell/HomePDFCell.swift

-22
Original file line numberDiff line numberDiff line change
@@ -125,28 +125,6 @@ private struct PaperInformationView: View {
125125
}
126126
}
127127

128-
129-
//private struct EllipsisView: View {
130-
// let ellipsisAction: () -> Void
131-
//
132-
// var body: some View {
133-
// VStack {
134-
// Spacer()
135-
//
136-
// Button {
137-
// ellipsisAction()
138-
// } label: {
139-
// Image(systemName: "ellipsis.circle")
140-
// .font(.system(size: 24))
141-
// .foregroundStyle(.gray550)
142-
// }
143-
// .padding(.trailing, 24)
144-
// .padding(.bottom, 20)
145-
// }
146-
// }
147-
//}
148-
149-
150128
// MARK: - Epllipsis 버튼 뷰
151129
private struct EllipsisButtonView: View {
152130
let editTitleAction: () -> Void

Presentation/Home/HomeSearch/Cell/PDFTagCell.swift

-5
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ import SwiftUI
99

1010

1111
struct PDFTagCell<Tag: DynamicCell>: View {
12-
// @EnvironmentObject var tagViewModel: TagViewModel
13-
// isSelected를 어떻게 구현하면 좋을지
14-
// cell을 누르면 selectedTags에 add하고
15-
// tagViewModel을 없앨 방법
1612
@State var isSelected: Bool = false
1713
@State var isAlertPresented: Bool = false
1814
let isMultiSelectable: Bool // 멀티선택 가능 여부
@@ -46,7 +42,6 @@ struct PDFTagCell<Tag: DynamicCell>: View {
4642
}
4743
.alert("\(tag.name)\n태그를 삭제하시겠습니까?\n해당 태그가 달린 모든 논문에서도 삭제됩니다.", isPresented: $isAlertPresented) {
4844
Button("삭제", role: .destructive, action: {
49-
//tagViewModel.deleteTag(id: tag.id)
5045
deleteAction()
5146
})
5247
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
{
2+
"originHash" : "c63c63846d9c539229e96de38d6af51417e28c0ee9a0bc48bd0f0f19d923c329",
3+
"pins" : [
4+
{
5+
"identity" : "abseil-cpp-binary",
6+
"kind" : "remoteSourceControl",
7+
"location" : "https://github.com/google/abseil-cpp-binary.git",
8+
"state" : {
9+
"revision" : "194a6706acbd25e4ef639bcaddea16e8758a3e27",
10+
"version" : "1.2024011602.0"
11+
}
12+
},
13+
{
14+
"identity" : "app-check",
15+
"kind" : "remoteSourceControl",
16+
"location" : "https://github.com/google/app-check.git",
17+
"state" : {
18+
"revision" : "61b85103a1aeed8218f17c794687781505fbbef5",
19+
"version" : "11.2.0"
20+
}
21+
},
22+
{
23+
"identity" : "firebase-ios-sdk",
24+
"kind" : "remoteSourceControl",
25+
"location" : "https://github.com/firebase/firebase-ios-sdk",
26+
"state" : {
27+
"revision" : "6318278e8e64d21f0fdcc69004395e4d34048aaf",
28+
"version" : "11.8.1"
29+
}
30+
},
31+
{
32+
"identity" : "googleappmeasurement",
33+
"kind" : "remoteSourceControl",
34+
"location" : "https://github.com/google/GoogleAppMeasurement.git",
35+
"state" : {
36+
"revision" : "be0881ff728eca210ccb628092af400c086abda3",
37+
"version" : "11.7.0"
38+
}
39+
},
40+
{
41+
"identity" : "googledatatransport",
42+
"kind" : "remoteSourceControl",
43+
"location" : "https://github.com/google/GoogleDataTransport.git",
44+
"state" : {
45+
"revision" : "617af071af9aa1d6a091d59a202910ac482128f9",
46+
"version" : "10.1.0"
47+
}
48+
},
49+
{
50+
"identity" : "googleutilities",
51+
"kind" : "remoteSourceControl",
52+
"location" : "https://github.com/google/GoogleUtilities.git",
53+
"state" : {
54+
"revision" : "53156c7ec267db846e6b64c9f4c4e31ba4cf75eb",
55+
"version" : "8.0.2"
56+
}
57+
},
58+
{
59+
"identity" : "grpc-binary",
60+
"kind" : "remoteSourceControl",
61+
"location" : "https://github.com/google/grpc-binary.git",
62+
"state" : {
63+
"revision" : "f56d8fc3162de9a498377c7b6cea43431f4f5083",
64+
"version" : "1.65.1"
65+
}
66+
},
67+
{
68+
"identity" : "gtm-session-fetcher",
69+
"kind" : "remoteSourceControl",
70+
"location" : "https://github.com/google/gtm-session-fetcher.git",
71+
"state" : {
72+
"revision" : "3cdb78efb79b4a5383c3911488d8025bfc545b5e",
73+
"version" : "4.3.0"
74+
}
75+
},
76+
{
77+
"identity" : "interop-ios-for-google-sdks",
78+
"kind" : "remoteSourceControl",
79+
"location" : "https://github.com/google/interop-ios-for-google-sdks.git",
80+
"state" : {
81+
"revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
82+
"version" : "100.0.0"
83+
}
84+
},
85+
{
86+
"identity" : "leveldb",
87+
"kind" : "remoteSourceControl",
88+
"location" : "https://github.com/firebase/leveldb.git",
89+
"state" : {
90+
"revision" : "a0bc79961d7be727d258d33d5a6b2f1023270ba1",
91+
"version" : "1.22.5"
92+
}
93+
},
94+
{
95+
"identity" : "nanopb",
96+
"kind" : "remoteSourceControl",
97+
"location" : "https://github.com/firebase/nanopb.git",
98+
"state" : {
99+
"revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1",
100+
"version" : "2.30910.0"
101+
}
102+
},
103+
{
104+
"identity" : "promises",
105+
"kind" : "remoteSourceControl",
106+
"location" : "https://github.com/google/promises.git",
107+
"state" : {
108+
"revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac",
109+
"version" : "2.4.0"
110+
}
111+
},
112+
{
113+
"identity" : "swift-protobuf",
114+
"kind" : "remoteSourceControl",
115+
"location" : "https://github.com/apple/swift-protobuf.git",
116+
"state" : {
117+
"revision" : "ebc7251dd5b37f627c93698e4374084d98409633",
118+
"version" : "1.28.2"
119+
}
120+
}
121+
],
122+
"version" : 3
123+
}

0 commit comments

Comments
 (0)