Skip to content

Commit ab13595

Browse files
committed
fix twint and postfinance crash
1 parent eb1be75 commit ab13595

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-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.37.11]
5+
6+
### Fixed
7+
- Fixed crash when no TWINT or PostFinance payment method could be added
8+
49
## [0.37.10]
510

611
### Changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ allprojects {
3131
}
3232

3333
project.ext {
34-
sdkVersion='0.37.10'
34+
sdkVersion='0.37.11'
3535
versionCode=1
3636

3737
compileSdkVersion=30

ui/src/main/java/io/snabble/sdk/ui/payment/Datatrans.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ class Datatrans {
137137

138138
override fun onTransactionError(exception: TransactionException) {
139139
Dispatch.mainThread {
140-
SnabbleUI.getProject().events.logError("Datatrans TransactionException: " + exception.message)
140+
project.events.logError("Datatrans TransactionException: " + exception.message)
141141
showError(activity, paymentMethod)
142142
}
143143
}

0 commit comments

Comments
 (0)