File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
ui/src/main/java/io/snabble/sdk/ui/checkout/routingtargets Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file.
66### Changed
77### Removed
88ui: Remove ProductConfirmationDialog (APPS-2411)
9+ ui: Fix multiple cancellation events in RoutingTargetGateKeeperView (APPS-2441)
910### Fixed
1011
1112## [ 0.80.17]
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import io.snabble.sdk.ui.scanner.BarcodeView
2020import io.snabble.sdk.ui.utils.I18nUtils
2121import io.snabble.sdk.ui.utils.UIUtils
2222import io.snabble.sdk.ui.utils.observeView
23+ import io.snabble.sdk.ui.utils.setOneShotClickListener
2324import io.snabble.sdk.ui.utils.setTextOrHide
2425import io.snabble.sdk.utils.Logger
2526import kotlin.math.roundToInt
@@ -57,7 +58,7 @@ class RoutingTargetGatekeeperView @JvmOverloads constructor(
5758 helperImage = findViewById(R .id.helper_image)
5859 upArrow = findViewById(R .id.arrow)
5960
60- cancel.setOnClickListener {
61+ cancel.setOneShotClickListener {
6162 abort()
6263 }
6364
You can’t perform that action at this time.
0 commit comments