Remove touch interceptor.

This commit is contained in:
Alex Hart 2026-06-11 13:16:23 -03:00
parent bbb09eb7a0
commit f8b53378c6

View File

@ -26,7 +26,6 @@ import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.input.pointer.pointerInput
import androidx.compose.ui.platform.ComposeView
import androidx.compose.ui.platform.LocalDensity
import androidx.compose.ui.platform.LocalResources
@ -186,15 +185,7 @@ class MultiselectForwardFragment :
SignalTheme {
Surface(
color = remember { Color(callback.getDialogBackgroundColor()) },
// Swallow touches that miss the bar's children so they don't toggle a contact row behind it.
modifier = Modifier.pointerInput(Unit) {
awaitPointerEventScope {
while (true) {
awaitPointerEvent().changes.forEach { it.consume() }
}
}
}
color = remember { Color(callback.getDialogBackgroundColor()) }
) {
MultiselectForwardBottomBar(
state = state,