Skip to content

Commit ecdc4ec

Browse files
committed
remove view modifier duplication
1 parent dd9c2f5 commit ecdc4ec

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/Sources/PointOfSale/Presentation/Settings/POSSettingsCardView.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ struct POSSettingsCardView: View {
1111
Text(title)
1212
.font(.posBodyLargeRegular())
1313
.foregroundStyle(Color.posOnSurface)
14-
.dynamicTypeSize(...DynamicTypeSize.accessibility2)
1514
Text(subtitle)
1615
.font(.posBodyMediumRegular())
1716
.foregroundStyle(.secondary)
18-
.dynamicTypeSize(...DynamicTypeSize.accessibility2)
1917
}
2018
.padding()
2119
.frame(maxWidth: .infinity, alignment: .leading)
2220
.background(Color.posSurfaceContainerLowest)
21+
.dynamicTypeSize(...DynamicTypeSize.accessibility2)
2322
.posItemCardBorderStyles()
2423
}
2524
.buttonStyle(.plain)

0 commit comments

Comments
 (0)