File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
WooCommerce/Classes/POS/Presentation/Settings Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -173,20 +173,25 @@ struct PointOfSaleSettingsHardwareDetailView: View {
173173 Button {
174174 handleScannerDestination ( destination)
175175 } label: {
176- HStack ( alignment : . firstTextBaseline ) {
176+ HStack ( spacing : POSSpacing . medium ) {
177177 Image ( systemName: destination. icon)
178178 . font ( . posBodyLargeRegular( ) )
179+ . accessibilityHidden ( true )
180+ . renderedIf ( !dynamicTypeSize. isAccessibilitySize)
179181 VStack ( alignment: . leading, spacing: POSPadding . xSmall) {
180182 Text ( destination. title)
181183 . font ( . posBodyLargeRegular( ) )
184+ . dynamicTypeSize ( ... DynamicTypeSize . accessibility2)
182185 Text ( destination. subtitle)
183186 . font ( . posBodyMediumRegular( ) )
184187 . foregroundStyle ( . secondary)
188+ . dynamicTypeSize ( ... DynamicTypeSize . accessibility2)
185189 }
190+ Spacer ( )
186191 }
187- Spacer ( )
188192 }
189193 . buttonStyle ( . plain)
194+ . accessibilityAddTraits ( . isButton)
190195 . listRowSeparator ( . hidden)
191196 }
192197 . listStyle ( . plain)
You can’t perform that action at this time.
0 commit comments