Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ struct PointOfSaleBarcodeScannerPairingView: View {
var body: some View {
VStack(spacing: POSSpacing.xLarge) {
// Temporary image until finalised assets are available
Image(systemName: "gearshape")
.font(.system(size: 78))
.accessibilityHidden(true)
Image(decorative: PointOfSaleAssets.gears.imageName)
.resizable()
.frame(width: Constants.gearIconSize, height: Constants.gearIconSize)

VStack(alignment: .center, spacing: POSSpacing.small) {
Text(Localization.title)
Expand Down Expand Up @@ -85,9 +85,13 @@ private extension PointOfSaleBarcodeScannerPairingView {
//TODO: WOOMOB-792
enum Localization {
static let settingsButtonTitle = "Go to settings"
static let title = "Pair your device"
static let title = "Pair your scanner"
static let instructionFormat = "Enable Bluetooth and select your %1$@ scanner in iOS Settings."
}

enum Constants {
static let gearIconSize: CGFloat = 112
}
}

@available(iOS 17.0, *)
Expand Down
3 changes: 3 additions & 0 deletions WooCommerce/Classes/POS/Presentation/PointOfSaleAssets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ enum PointOfSaleAssets: CaseIterable {
case shoppingBags
case successCheck
case coupons
case gears
//TODO: WOOMOB-793 Update the imagesets for these barcodes to vector/dark mode friendly images
case starBsh20SetupBarcode
case testEan13Barcode
Expand Down Expand Up @@ -46,6 +47,8 @@ enum PointOfSaleAssets: CaseIterable {
"pos-success-check"
case .coupons:
"coupons"
case .gears:
"pos-gears"
case .starBsh20SetupBarcode:
"star-bsh20-setup-barcode"
case .testEan13Barcode:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"images" : [
{
"filename" : "pos-gears.pdf",
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "pos-gears-dark.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.
Binary file not shown.
Loading