Skip to content

Commit

Permalink
Merge pull request #15 from cslrfid/develop
Browse files Browse the repository at this point in the history
Bug fix on barcode to ASCII conversion
  • Loading branch information
ksclam authored Nov 14, 2022
2 parents 1f605b6 + cac9dc1 commit dcedb6f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file not shown.
2 changes: 1 addition & 1 deletion CS108iOSClient/ViewControllers/CSLInventoryVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ import AudioToolbox
cell = tableView.dequeueReusableCell(withIdentifier: "TagCell") as? CSLTagListCell
}

cell?.lbCellEPC?.text = "\(indexPath.row + 1) \u{25CF} \(String(describing: IsAsciiDisplay ? CSLReaderBarcode.convertHexString(toAscii: bc) : bc))"
cell?.lbCellEPC?.text = "\(indexPath.row + 1) \u{25CF} \(IsAsciiDisplay ? String(CSLReaderBarcode.convertHexString(toAscii: bc)) : bc ?? "")"
if let object = (CSLRfidAppEngine.shared().reader.filteredBuffer[indexPath.row] as? CSLReaderBarcode)?.codeId {
cell?.lbCellBank?.text = "[\(object)]"
}
Expand Down

0 comments on commit dcedb6f

Please sign in to comment.