Skip to content

Commit 1a29116

Browse files
committed
add item count to qr code checkout button
1 parent 624478f commit 1a29116

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
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.32.11]
5+
6+
### Fixed
7+
- Fixed translation error in qr code checkout screen
8+
49
## [0.32.10]
510

611
### Added

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ allprojects {
2929
}
3030

3131
project.ext {
32-
sdkVersion='0.32.10'
32+
sdkVersion='0.32.11'
3333
versionCode=1
3434

3535
compileSdkVersion=30

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ public void onPageSelected(int position) {
120120
paidButton.setText(I18nUtils.getIdentifierForProject(getResources(),
121121
SnabbleUI.getProject(), R.string.Snabble_QRCode_didPay));
122122
} else {
123-
paidButton.setText(getResources().getString(R.string.Snabble_QRCode_nextCode));
123+
paidButton.setText(getResources().getString(R.string.Snabble_QRCode_nextCode,
124+
position + 2,
125+
viewPagerAdapter.getItemCount()));
124126
}
125127
}
126128
});

0 commit comments

Comments
 (0)