Skip to content

Commit 5a55c0d

Browse files
committed
Remove unused property
1 parent b5ba4a7 commit 5a55c0d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

WMFComponents/Sources/WMFComponents/Components/Activity Tab/WMFActivityTabInfoCardView.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,19 @@ struct WMFActivityTabInfoCardView<Content: View>: View {
77
private let amount: Int
88
private let onTapModule: () -> Void
99
private let content: () -> Content
10-
private let contentAccessibilityLabels: [String]
1110

1211
init(
1312
icon: UIImage?,
1413
title: String,
1514
dateText: String?,
1615
amount: Int = 0,
17-
contentAccessibilityLabels: [String] = [],
1816
onTapModule: @escaping () -> Void,
1917
@ViewBuilder content: @escaping () -> Content = { EmptyView() }
2018
) {
2119
self.icon = icon
2220
self.title = title
2321
self.dateText = dateText
2422
self.amount = amount
25-
self.contentAccessibilityLabels = contentAccessibilityLabels
2623
self.content = content
2724
self.onTapModule = onTapModule
2825
}
@@ -88,7 +85,6 @@ struct WMFActivityTabInfoCardView<Content: View>: View {
8885
var parts = [title]
8986
if let dateText { parts.append(dateText) }
9087
parts.append(formattedAmount)
91-
parts.append(contentsOf: contentAccessibilityLabels)
9288
return parts.joined(separator: ", ")
9389
}
9490

0 commit comments

Comments
 (0)