You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we add an RTL language to our supported locales—even if it has no translations yet—then widget tests exercising RTL can build ZulipApp without having to add an ad-hoc Directionality. They would do this by simulating the system language setting. For example in test/widgets/emoji_reaction_test.dart, in a test helper with a textDirection param:
If ar isn't in the supported locales, though, ZulipApp understandably acts just as it would in the wild, when ar is selected in system settings: it falls back to English.
The text was updated successfully, but these errors were encountered:
If we add an RTL language to our supported locales—even if it has no translations yet—then widget tests exercising RTL can build
ZulipApp
without having to add an ad-hocDirectionality
. They would do this by simulating the system language setting. For example in test/widgets/emoji_reaction_test.dart, in a test helper with atextDirection
param:If
ar
isn't in the supported locales, though,ZulipApp
understandably acts just as it would in the wild, whenar
is selected in system settings: it falls back to English.The text was updated successfully, but these errors were encountered: