Also filtering out "9010::Initialisierung fehlgeschlagen, Auftrag nicht bearbeitet." feedbacks, are of now use for user
This commit is contained in:
parent
e4b6a7efd5
commit
293e8aa849
|
@ -103,7 +103,8 @@ open class BankResponse(
|
||||||
|
|
||||||
protected open fun mapToMessageToShowToUser(feedback: Feedback): String? {
|
protected open fun mapToMessageToShowToUser(feedback: Feedback): String? {
|
||||||
if (feedback.isError || feedback.isPinLocked) {
|
if (feedback.isError || feedback.isPinLocked) {
|
||||||
if (feedback.responseCode != 9800) { // filter out 'Dialogabbruch' feedbacks, is of no value to user
|
if (feedback.responseCode != 9800 // filter out 'Dialogabbruch' feedbacks, is of no value to user
|
||||||
|
&& (feedback.responseCode == 9010 && feedback.message.contains("Initialisierung fehlgeschlagen")) == false) {
|
||||||
return "${feedback.responseCode}: ${feedback.message}"
|
return "${feedback.responseCode}: ${feedback.message}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue