mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-08-07 05:48:09 +01:00
Remove touch interceptor.
This commit is contained in:
+1
-10
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user