Skip to content

Commit bf2eb02

Browse files
committed
payment status: datamatrix -> qrcode
1 parent 690f56e commit bf2eb02

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## [0.13.8]
5+
6+
### Changed
7+
- Payment status view now shows a qr code instead of a data matrix code
8+
49
## [0.13.7]
510

611
### Fixed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ allprojects {
2323
}
2424

2525
project.ext {
26-
sdkVersion='0.13.6'
26+
sdkVersion='0.13.8'
2727
versionCode=1
2828

2929
compileSdkVersion=28

ui/src/main/java/io/snabble/sdk/ui/checkout/CheckoutStatusView.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,6 @@ private void inflateView() {
4747

4848
checkoutIdCode = findViewById(R.id.checkout_id_code);
4949

50-
// zxing uses StandardCharsets class for DATA_MATRIX codes, which is not available
51-
// before Android 4.4
52-
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
53-
checkoutIdCode.setFormat(BarcodeFormat.QR_CODE);
54-
}
55-
5650
final View cancel = findViewById(R.id.cancel);
5751
cancel.setAlpha(0);
5852
cancel.setEnabled(false);

ui/src/main/res/layout/view_checkout_status.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
android:layout_width="match_parent"
2121
android:layout_height="168dp"
2222
android:background="?android:attr/windowBackground"
23-
app:format="DATA_MATRIX"
23+
app:format="QR_CODE"
2424
tools:ignore="RtlHardcoded" />
2525

2626
<TextView

0 commit comments

Comments
 (0)