File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
WMFComponents/Sources/WMFComponents/Components/Activity Tab Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments