fix: give the touch gesture dialog room to scroll on phones (#1214)

This commit is contained in:
kingokksa authored and GitHub committed 2026-10-21 14:14:03 -04:00
1 parent d44c20f2bb
commit cad260b450
35 files changed
+20 -432

No files matched your search

@@ -70,7 +70,6 @@ class GestureLocalizationTest {
fun arabicPickerSearchPreservesBindingsAndMirrorsFooter() {
assertEquals(View.LAYOUT_DIRECTION_RTL, context.resources.configuration.layoutDirection)
compose.setContent { DroidDeckTheme { TouchGestureDialog(null, {}, {}) } }
compose.onNodeWithText("إعدادات إيماءات اللمس").assertIsDisplayed()
val save = compose.onNodeWithTag("gesture-save").fetchSemanticsNode().boundsInRoot
val cancel = compose.onNodeWithText(context.getString(R.string.gesture_cancel)).fetchSemanticsNode().boundsInRoot
assertTrue("Save $save and Cancel $cancel should follow the right-to-left layout", save.left < cancel.left)