mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-19 04:46:08 +00:00
fix: give the touch gesture dialog room to scroll on phones (#1214)
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user