Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6b77762 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Updating body text when gesture done successfully" into main

parents 26beaa7e f43fda3d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3681,7 +3681,10 @@
    <!-- Touchpad back gesture action name in tutorial [CHAR LIMIT=NONE] -->
    <string name="touchpad_back_gesture_action_title">Go back</string>
    <!-- Touchpad back gesture guidance in gestures tutorial [CHAR LIMIT=NONE] -->
    <string name="touchpad_back_gesture_guidance">To go back, swipe left or right using three fingers anywhere on the touchpad.</string>
    <string name="touchpad_back_gesture_guidance">To go back, swipe left or right using three fingers anywhere on the touchpad.\n\nYou can also use the keyboard shortcut
Action + ESC for this.</string>
    <!-- Text shown to the user after they complete back gesture tutorial [CHAR LIMIT=NONE] -->
    <string name="touchpad_back_gesture_finished">You completed the go back gesture.</string>
    <string name="touchpad_back_gesture_animation_content_description">Touchpad showing three fingers moving right and left</string>
    <string name="touchpad_back_gesture_screen_animation_content_description">Device screen showing animation for back gesture</string>

+3 −1
Original line number Diff line number Diff line
@@ -182,7 +182,9 @@ private fun GestureTutorialContent(
                    if (gestureState == FINISHED) R.string.touchpad_tutorial_gesture_done
                    else R.string.touchpad_back_gesture_action_title,
                titleColor = screenColors.titleColor,
                bodyTextId = R.string.touchpad_back_gesture_guidance,
                bodyTextId =
                    if (gestureState == FINISHED) R.string.touchpad_back_gesture_finished
                    else R.string.touchpad_back_gesture_guidance,
                modifier = Modifier.weight(1f)
            )
            Spacer(modifier = Modifier.width(76.dp))