We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82945b8 commit 046fd61Copy full SHA for 046fd61
1 file changed
app/src/main/java/to/bitkit/ui/screens/wallets/HomeScreen.kt
@@ -829,11 +829,13 @@ private fun Modifier.dismissCalculatorInputOnOutsideTap(
829
if ((pointer.position - down.position).getDistance() > viewConfiguration.touchSlop) {
830
isTap = false
831
}
832
- isPointerUp = pointer.changedToUpIgnoreConsumed()
833
- }
834
-
835
- if (isTap && !calculator.contains(tapPositionInRoot)) {
836
- onDismiss()
+ if (pointer.changedToUpIgnoreConsumed()) {
+ isPointerUp = true
+ if (isTap && !calculator.contains(tapPositionInRoot)) {
+ pointer.consume()
+ onDismiss()
837
+ }
838
839
840
841
0 commit comments