Barcode improvements

This commit is contained in:
M66B
2024-02-09 08:02:58 +01:00
parent 922e1323df
commit f3ca84e88f
5 changed files with 8 additions and 5 deletions

View File

@@ -1351,6 +1351,7 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
}
});
swBarcodePreview.setVisibility(Build.VERSION.SDK_INT >= Build.VERSION_CODES.N ? View.VISIBLE : View.GONE);
swBarcodePreview.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton compoundButton, boolean checked) {