Skip to content

Commit

Permalink
Disable RTL support (#725)
Browse files Browse the repository at this point in the history
At the moment, the app doesn't support any languages
that are written from right to left, such as Hebrew
or Arabic.

However, AndroidManifest.xml says android:supportsRtl="true",
which is the default value. This causes the app to display
incorrectly in English on phones that are set to work
in a right to left language.

This patch sets rtlandroid:supportsRtl="false",
so that the app won't try to flip itself for
right to left languages unnecessarily.

If full support for such languages is ever added,
set it back to "true".

Co-authored-by: Kayla Brady <[email protected]>
  • Loading branch information
amire80 and KaylaBrady authored Feb 11, 2025
1 parent 2a4280f commit 656a786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion androidApp/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
android:icon="@mipmap/ic_launcher"
android:label="MBTA Go"
android:networkSecurityConfig="@xml/network_security_config"
android:supportsRtl="true"
android:supportsRtl="false"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
Expand Down

0 comments on commit 656a786

Please sign in to comment.