From ce213356b99f91935d8fecc28112569974d7be29 Mon Sep 17 00:00:00 2001 From: Sylvia van Os Date: Fri, 23 Jan 2026 18:24:17 +0100 Subject: [PATCH] Add FIXME --- .../main/java/protect/card_locker/BarcodeSelectorAdapter.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/protect/card_locker/BarcodeSelectorAdapter.java b/app/src/main/java/protect/card_locker/BarcodeSelectorAdapter.java index 507fee550..4339be12b 100644 --- a/app/src/main/java/protect/card_locker/BarcodeSelectorAdapter.java +++ b/app/src/main/java/protect/card_locker/BarcodeSelectorAdapter.java @@ -75,6 +75,9 @@ public class BarcodeSelectorAdapter extends ArrayAdapter return viewHolder.image.getTag() != null && (boolean) viewHolder.image.getTag(); } + // FIXME: The examples in the selector activity are always rendering using ISO-8859-1, even if UTF-8 is the selected type + // This needs some refactoring to properly retrieve the barcode encoding when rendering an active barcode + // This is the case for example when editing an active card, pressing the "Edit barcode" button, then "More options" and then "Enter the barcode manually" private void createBarcodeOption(final ImageView image, final String formatType, final String cardId, final TextView text) { final CatimaBarcode format = CatimaBarcode.fromName(formatType);