diff --git a/app/src/main/java/org/mozilla/fenix/browser/ToolbarGestureHandler.kt b/app/src/main/java/org/mozilla/fenix/browser/ToolbarGestureHandler.kt index 00508690d7..11fe97a654 100644 --- a/app/src/main/java/org/mozilla/fenix/browser/ToolbarGestureHandler.kt +++ b/app/src/main/java/org/mozilla/fenix/browser/ToolbarGestureHandler.kt @@ -180,14 +180,14 @@ class ToolbarGestureHandler( val sessions = sessionManager.sessionsOfType(currentSession.private) val index = when (gestureDirection) { GestureDirection.RIGHT_TO_LEFT -> if (isLtr) { - currentIndex + 1 - } else { currentIndex - 1 + } else { + currentIndex + 1 } GestureDirection.LEFT_TO_RIGHT -> if (isLtr) { - currentIndex - 1 - } else { currentIndex + 1 + } else { + currentIndex - 1 } }